Class Features
java.lang.Object
org.codehaus.modello.test.features.Features
- All Implemented Interfaces:
Serializable
Class Features.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate Action
Field action.private ArrayFeatures
Field arrays.private AssociationFeatures
Test of association features.private Thing
Field cloneable.static final String
private String
Field comment.private SimpleTypes
Field defaultValues.private String
Test of a description.private File
Field file.private String
<field><identifier>true</identifier></field>: a field taking part in instance identifier.private Reference
Multiple fields can be participate in an identifier, either simple types or complex ones.private JavaFeatures
Field javaFeatures.private String
Field modelEncoding.private NodeItem
Field node.private String
<field><required>true</required></field>: Test of a required field.private SimpleTypes
Field simpleTypes.private String
A field described as model's versionDefinition field: its value contains the version of the model used.private XdocFeatures
Field xdocFeatures.private XmlFeatures
Field xmlFeatures. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Method 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.int
hashCode()
Method hashCode.void
Set the action field.void
setArrays
(ArrayFeatures arrays) Set the arrays field.void
setAssociationFeatures
(AssociationFeatures associationFeatures) Set test of association features.void
setCloneable
(Thing cloneable) Set the cloneable field.void
setComment
(String comment) Set the comment field.void
setDefaultValues
(SimpleTypes defaultValues) Set the defaultValues field.void
setDescription
(String description) Set test of a description.void
Set the file field.void
setIdentifier
(String identifier) Set <field><identifier>true</identifier></field>: a field taking part in instance identifier.void
setIdentifierPart2
(Reference identifierPart2) Set multiple fields can be participate in an identifier, either simple types or complex ones.void
setJavaFeatures
(JavaFeatures javaFeatures) Set the javaFeatures field.void
setModelEncoding
(String modelEncoding) Set the modelEncoding field.void
Set the node field.void
setRequired
(String required) Set <field><required>true</required></field>: Test of a required field.void
setSimpleTypes
(SimpleTypes simpleTypes) Set the simpleTypes field.void
setVersionField
(String versionField) Set a field described as model's versionDefinition field: its value contains the version of the model used.void
setXdocFeatures
(XdocFeatures xdocFeatures) Set the xdocFeatures field.void
setXmlFeatures
(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
Field comment. -
description
Test of a description. -
required
<field><required>true</required></field>: Test of a required field. -
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
Field node. -
cloneable
Field cloneable. -
file
Field file. -
action
Field action. -
modelEncoding
Field modelEncoding. -
CODE_SEGMENT
- See Also:
-
-
Constructor Details
-
Features
public Features()
-
-
Method Details
-
equals
Method equals. -
getAction
Get the action field.- Returns:
- Action
-
getArrays
Get the arrays field.- Returns:
- ArrayFeatures
-
getAssociationFeatures
Get test of association features.- Returns:
- AssociationFeatures
-
getCloneable
Get the cloneable field.- Returns:
- Thing
-
getComment
Get the comment field.- Returns:
- String
-
getDefaultValues
Get the defaultValues field.- Returns:
- SimpleTypes
-
getDescription
Get test of a description.- Returns:
- String
-
getFile
Get the file field.- Returns:
- File
-
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
Get the javaFeatures field.- Returns:
- JavaFeatures
-
getModelEncoding
Get the modelEncoding field.- Returns:
- String
-
getNode
Get the node field.- Returns:
- NodeItem
-
getRequired
Get <field><required>true</required></field>: Test of a required field.- Returns:
- String
-
getSimpleTypes
Get the simpleTypes field.- Returns:
- SimpleTypes
-
getVersionField
Get a field described as model's versionDefinition field: its value contains the version of the model used.- Returns:
- String
-
getXdocFeatures
Get the xdocFeatures field.- Returns:
- XdocFeatures
-
getXmlFeatures
Get the xmlFeatures field.- Returns:
- XmlFeatures
-
hashCode
Method hashCode. -
setAction
Set the action field.- Parameters:
action
- a action object.
-
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
Set the file field.- Parameters:
file
- a file object.
-
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
Set the node field.- Parameters:
node
- a node object.
-
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
Method toString.
-