org.biomage.tools.generate_classes
Class CreateFile.IdentifierAttrInformation

java.lang.Object
  extended by org.biomage.tools.generate_classes.CreateFile.AttrInformation
      extended by org.biomage.tools.generate_classes.CreateFile.AssociationAttrInformation
          extended by org.biomage.tools.generate_classes.CreateFile.IdentifierAttrInformation
Enclosing class:
CreateFile

public class CreateFile.IdentifierAttrInformation
extends CreateFile.AssociationAttrInformation

Description: Inner class to hold association attribute information. Checks to see if the association is a multivalued and adjusts the information accordingly. Since this is for the Identifier lists, names are munged slightly differently than the base class case.


Field Summary
 
Fields inherited from class org.biomage.tools.generate_classes.CreateFile.AssociationAttrInformation
isOrdered, isOwner, maxCard, minCard, originalType, otherNav, pointsToIdentifiable, rank, thisMaxCard, thisMinCard, thisNav, typeAggregate
 
Constructor Summary
protected CreateFile.IdentifierAttrInformation(CreateFile classFile, boolean isList)
          Description: C'tor for class.
 
Method Summary
 CreateFile getCreateFile()
          Description: Method to return the underlying CreateFile the association is based on.
 boolean isAbstract()
          Description: Method that returns whether the role's class is abstract.
 
Methods inherited from class org.biomage.tools.generate_classes.CreateFile.AssociationAttrInformation
getIsOrdered, getMaxCard, getMinCard, getOriginalType, getOtherNav, getRank, getThisMaxCard, getThisMinCard, getThisNav, getTypeAggregated, initialize, isOwner, makeOptional, pointsToIdentifiableClass, toString
 
Methods inherited from class org.biomage.tools.generate_classes.CreateFile.AttrInformation
getComment, getDatatype, getEnumValues, getName, getScope, initialize, isEnum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateFile.IdentifierAttrInformation

protected CreateFile.IdentifierAttrInformation(CreateFile classFile,
                                               boolean isList)
                                        throws java.lang.Exception
Description: C'tor for class.

Parameters:
classFile: - for Packages, this holds the information for its association.

Throws:
java.lang.Exception
Method Detail

isAbstract

public boolean isAbstract()
                   throws java.lang.Exception
Description: Method that returns whether the role's class is abstract.

Returns:
true if the classFile is abstract, false otherwise.

Throws:
java.lang.Exception

getCreateFile

public CreateFile getCreateFile()
                         throws java.lang.Exception
Description: Method to return the underlying CreateFile the association is based on.

Returns:
the classFile.

Throws:
java.lang.Exception