org.codehaus.modello.model
Class ModelAssociation
public class ModelAssociation
$Id: ModelAssociation.java 529 2005-12-23 02:46:44Z brett $
getAlias, getDefaultValue, getMetadata, getModelClass, getType, getTypeValidator, initialize, isIdentifier, isPrimitive, isRequired, setAlias, setDefaultValue, setIdentifier, setRequired, setType, setTypeValidator, toString, validateElement |
addMetadata, equals, getComment, getDeprecatedVersion, getDescription, getMetadata, getName, getVersionRange, hasMetadata, hashCode, isEmpty, setComment, setDeprecatedVersion, setDescription, setName, setVersionRange, validate, validateElement, validateFieldNotEmpty |
MANY_MULTIPLICITY
public static final String MANY_MULTIPLICITY
ONE_MULTIPLICITY
public static final String ONE_MULTIPLICITY
getMultiplicity
public String getMultiplicity()
- Returns the multiplicity.
getTo
public String getTo()
getToClass
public ModelClass getToClass()
- Returns the to ModelClass.
setMultiplicity
public void setMultiplicity(String multiplicity)
multiplicity - The multiplicity to set.
setTo
public void setTo(String to)