Class Features
java.lang.Object
org.codehaus.modello.test.features.Features
- All Implemented Interfaces:
Serializable
Class Features.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ActionField action.private ArrayFeaturesField arrays.private AssociationFeaturesTest of association features.private ThingField cloneable.static final Stringprivate StringField comment.private SimpleTypesField defaultValues.private StringTest of a description.private FileField file.private String<field><identifier>true</identifier></field>: a field taking part in instance identifier.private ReferenceMultiple fields can be participate in an identifier, either simple types or complex ones.private JavaFeaturesField javaFeatures.private StringField modelEncoding.private NodeItemField node.private String<field><required>true</required></field>: Test of a required field.private SimpleTypesField simpleTypes.private StringA field described as model's versionDefinition field: its value contains the version of the model used.private XdocFeaturesField xdocFeatures.private XmlFeaturesField xmlFeatures. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethod equals.Get the action field.Get the arrays field.Get test of association features.Get the cloneable field.Get the comment field.Get the defaultValues field.Get test of a description.getFile()Get the file field.Get <field><identifier>true</identifier></field>: a field taking part in instance identifier.Get multiple fields can be participate in an identifier, either simple types or complex ones.Get the javaFeatures field.Get the modelEncoding field.getNode()Get the node field.Get <field><required>true</required></field>: Test of a required field.Get the simpleTypes field.Get a field described as model's versionDefinition field: its value contains the version of the model used.Get the xdocFeatures field.Get the xmlFeatures field.inthashCode()Method hashCode.voidSet the action field.voidsetArrays(ArrayFeatures arrays) Set the arrays field.voidsetAssociationFeatures(AssociationFeatures associationFeatures) Set test of association features.voidsetCloneable(Thing cloneable) Set the cloneable field.voidsetComment(String comment) Set the comment field.voidsetDefaultValues(SimpleTypes defaultValues) Set the defaultValues field.voidsetDescription(String description) Set test of a description.voidSet the file field.voidsetIdentifier(String identifier) Set <field><identifier>true</identifier></field>: a field taking part in instance identifier.voidsetIdentifierPart2(Reference identifierPart2) Set multiple fields can be participate in an identifier, either simple types or complex ones.voidsetJavaFeatures(JavaFeatures javaFeatures) Set the javaFeatures field.voidsetModelEncoding(String modelEncoding) Set the modelEncoding field.voidSet the node field.voidsetRequired(String required) Set <field><required>true</required></field>: Test of a required field.voidsetSimpleTypes(SimpleTypes simpleTypes) Set the simpleTypes field.voidsetVersionField(String versionField) Set a field described as model's versionDefinition field: its value contains the version of the model used.voidsetXdocFeatures(XdocFeatures xdocFeatures) Set the xdocFeatures field.voidsetXmlFeatures(XmlFeatures xmlFeatures) Set the xmlFeatures field.toString()Method toString.
-
Field Details
-
versionField
A field described as model's versionDefinition field: its value contains the version of the model used. -
comment
-
description
Test of a description. -
required
-
identifier
<field><identifier>true</identifier></field>: a field taking part in instance identifier. This field is used to generatetoString(),hashCode()andequals()methods. -
identifierPart2
Multiple fields can be participate in an identifier, either simple types or complex ones. -
simpleTypes
Field simpleTypes. -
defaultValues
Field defaultValues. -
arrays
Field arrays. -
associationFeatures
Test of association features. -
javaFeatures
Field javaFeatures. -
xmlFeatures
Field xmlFeatures. -
xdocFeatures
Field xdocFeatures. -
node
-
cloneable
-
file
-
action
-
modelEncoding
Field modelEncoding. -
CODE_SEGMENT
- See Also:
-
-
Constructor Details
-
Features
public Features()
-
-
Method Details
-
equals
-
getAction
-
getArrays
-
getAssociationFeatures
Get test of association features.- Returns:
- AssociationFeatures
-
getCloneable
-
getComment
-
getDefaultValues
-
getDescription
-
getFile
-
getIdentifier
Get <field><identifier>true</identifier></field>: a field taking part in instance identifier. This field is used to generatetoString(),hashCode()andequals()methods.- Returns:
- String
-
getIdentifierPart2
Get multiple fields can be participate in an identifier, either simple types or complex ones.- Returns:
- Reference
-
getJavaFeatures
-
getModelEncoding
-
getNode
-
getRequired
Get <field><required>true</required></field>: Test of a required field.- Returns:
- String
-
getSimpleTypes
-
getVersionField
Get a field described as model's versionDefinition field: its value contains the version of the model used.- Returns:
- String
-
getXdocFeatures
-
getXmlFeatures
-
hashCode
-
setAction
-
setArrays
Set the arrays field.- Parameters:
arrays- a arrays object.
-
setAssociationFeatures
Set test of association features.- Parameters:
associationFeatures- a associationFeatures object.
-
setCloneable
Set the cloneable field.- Parameters:
cloneable- a cloneable object.
-
setComment
Set the comment field.- Parameters:
comment- a comment object.
-
setDefaultValues
Set the defaultValues field.- Parameters:
defaultValues- a defaultValues object.
-
setDescription
Set test of a description.- Parameters:
description- a description object.
-
setFile
-
setIdentifier
Set <field><identifier>true</identifier></field>: a field taking part in instance identifier. This field is used to generatetoString(),hashCode()andequals()methods.- Parameters:
identifier- a identifier object.
-
setIdentifierPart2
Set multiple fields can be participate in an identifier, either simple types or complex ones.- Parameters:
identifierPart2- a identifierPart2 object.
-
setJavaFeatures
Set the javaFeatures field.- Parameters:
javaFeatures- a javaFeatures object.
-
setModelEncoding
Set the modelEncoding field.- Parameters:
modelEncoding- a modelEncoding object.
-
setNode
-
setRequired
Set <field><required>true</required></field>: Test of a required field.- Parameters:
required- a required object.
-
setSimpleTypes
Set the simpleTypes field.- Parameters:
simpleTypes- a simpleTypes object.
-
setVersionField
Set a field described as model's versionDefinition field: its value contains the version of the model used.- Parameters:
versionField- a versionField object.
-
setXdocFeatures
Set the xdocFeatures field.- Parameters:
xdocFeatures- a xdocFeatures object.
-
setXmlFeatures
Set the xmlFeatures field.- Parameters:
xmlFeatures- a xmlFeatures object.
-
toString
-