Package org.codehaus.modello.model
Class ModelDefault
java.lang.Object
org.codehaus.modello.model.ModelDefault
Default values for a model, that can be overrided with
defaults element of the model descriptor.- Author:
- Emmanuel Venisse
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ModelDefaultgetDefault(String key) getKey()getValue()protected booleanvoidvoidvoid
-
Field Details
-
CHECK_DEPRECATION
- See Also:
-
CHECK_DEPRECATION_VALUE
- See Also:
-
PACKAGE
- See Also:
-
PACKAGE_VALUE
- See Also:
-
LIST
- See Also:
-
LIST_VALUE
- See Also:
-
MAP
- See Also:
-
MAP_VALUE
- See Also:
-
PROPERTIES
- See Also:
-
PROPERTIES_VALUE
- See Also:
-
SET
- See Also:
-
SET_VALUE
- See Also:
-
STRICT_XML_ATTRIBUTES
- See Also:
-
STRICT_XML_ATTRIBUTES_VALUE
- See Also:
-
-
Constructor Details
-
ModelDefault
public ModelDefault()
-
-
Method Details
-
getDefault
- Throws:
ModelValidationException
-
setKey
-
getKey
-
setValue
-
getValue
-
getBoolean
public boolean getBoolean() -
validateElement
- Throws:
ModelValidationException
-
isEmpty
-