Class Features

java.lang.Object
org.codehaus.modello.test.features.Features
All Implemented Interfaces:
Serializable

public class Features extends Object implements Serializable
Class Features.
Version:
$Revision$ $Date$
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • equals

      public boolean equals(Object other)
      Method equals.
      Overrides:
      equals in class Object
      Parameters:
      other - a other object.
      Returns:
      boolean
    • getAction

      public Action getAction()
      Get the action field.
      Returns:
      Action
    • getArrays

      Get the arrays field.
      Returns:
      ArrayFeatures
    • getAssociationFeatures

      Get test of association features.
      Returns:
      AssociationFeatures
    • getCloneable

      public Thing getCloneable()
      Get the cloneable field.
      Returns:
      Thing
    • getComment

      public String getComment()
      Get the comment field.
      Returns:
      String
    • getDefaultValues

      Get the defaultValues field.
      Returns:
      SimpleTypes
    • getDescription

      Get test of a description.
      Returns:
      String
    • getFile

      public File 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 generate toString(), hashCode() and equals() 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

      public NodeItem getNode()
      Get the node field.
      Returns:
      NodeItem
    • getRequired

      public String 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

      public int hashCode()
      Method hashCode.
      Overrides:
      hashCode in class Object
      Returns:
      int
    • setAction

      public void setAction(Action action)
      Set the action field.
      Parameters:
      action - a action object.
    • setArrays

      public void setArrays(ArrayFeatures arrays)
      Set the arrays field.
      Parameters:
      arrays - a arrays object.
    • setAssociationFeatures

      public void setAssociationFeatures(AssociationFeatures associationFeatures)
      Set test of association features.
      Parameters:
      associationFeatures - a associationFeatures object.
    • setCloneable

      public void setCloneable(Thing cloneable)
      Set the cloneable field.
      Parameters:
      cloneable - a cloneable object.
    • setComment

      public void setComment(String comment)
      Set the comment field.
      Parameters:
      comment - a comment object.
    • setDefaultValues

      public void setDefaultValues(SimpleTypes defaultValues)
      Set the defaultValues field.
      Parameters:
      defaultValues - a defaultValues object.
    • setDescription

      public void setDescription(String description)
      Set test of a description.
      Parameters:
      description - a description object.
    • setFile

      public void setFile(File file)
      Set the file field.
      Parameters:
      file - a file object.
    • setIdentifier

      public void setIdentifier(String identifier)
      Set <field><identifier>true</identifier></field>: a field taking part in instance identifier. This field is used to generate toString(), hashCode() and equals() methods.
      Parameters:
      identifier - a identifier object.
    • setIdentifierPart2

      public void setIdentifierPart2(Reference identifierPart2)
      Set multiple fields can be participate in an identifier, either simple types or complex ones.
      Parameters:
      identifierPart2 - a identifierPart2 object.
    • setJavaFeatures

      public void setJavaFeatures(JavaFeatures javaFeatures)
      Set the javaFeatures field.
      Parameters:
      javaFeatures - a javaFeatures object.
    • setModelEncoding

      public void setModelEncoding(String modelEncoding)
      Set the modelEncoding field.
      Parameters:
      modelEncoding - a modelEncoding object.
    • setNode

      public void setNode(NodeItem node)
      Set the node field.
      Parameters:
      node - a node object.
    • setRequired

      public void setRequired(String required)
      Set <field><required>true</required></field>: Test of a required field.
      Parameters:
      required - a required object.
    • setSimpleTypes

      public void setSimpleTypes(SimpleTypes simpleTypes)
      Set the simpleTypes field.
      Parameters:
      simpleTypes - a simpleTypes object.
    • setVersionField

      public void setVersionField(String versionField)
      Set a field described as model's versionDefinition field: its value contains the version of the model used.
      Parameters:
      versionField - a versionField object.
    • setXdocFeatures

      public void setXdocFeatures(XdocFeatures xdocFeatures)
      Set the xdocFeatures field.
      Parameters:
      xdocFeatures - a xdocFeatures object.
    • setXmlFeatures

      public void setXmlFeatures(XmlFeatures xmlFeatures)
      Set the xmlFeatures field.
      Parameters:
      xmlFeatures - a xmlFeatures object.
    • toString

      public String toString()
      Method toString.
      Overrides:
      toString in class Object
      Returns:
      String