001: package com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel;
002:
003: /**
004: * AssociationRole object instance interface.
005: */
006: public interface AssociationRole
007: extends
008: com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.PrimaryKeyElement,
009: com.metaboss.sdlctools.models.metabossmodel.ModelElement {
010: /**
011: * @return
012: */
013: public boolean isPlural();
014:
015: /**
016: * @return
017: */
018: public boolean isSingular();
019:
020: /**
021: * @return
022: */
023: public boolean isOptional();
024:
025: /**
026: * @return
027: */
028: public com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.AssociationRole getOppositeRole();
029:
030: /**
031: * @return
032: */
033: public com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.Entity getReferencingEntity();
034:
035: /**
036: * @return
037: */
038: public boolean isMandatory();
039:
040: /**
041: * Returns the value of attribute pluralName.
042: * @return Value of attribute pluralName.
043: */
044: public java.lang.String getPluralName();
045:
046: /**
047: * Sets the value of pluralName attribute. See {@link #getPluralName} for
048: * description on the attribute.
049: * @param newValue New value to be set.
050: */
051: public void setPluralName(java.lang.String newValue);
052:
053: /**
054: * Returns the value of attribute cardinality.
055: * @return Value of attribute cardinality.
056: */
057: public com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.AssociationRoleCardinality getCardinality();
058:
059: /**
060: * Sets the value of cardinality attribute. See {@link #getCardinality} for
061: * description on the attribute.
062: * @param newValue New value to be set.
063: */
064: public void setCardinality(
065: com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.AssociationRoleCardinality newValue);
066:
067: /**
068: * Returns the value of attribute aggregationType.
069: * @return Value of attribute aggregationType.
070: */
071: public com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.AggregationType getAggregationType();
072:
073: /**
074: * Sets the value of aggregationType attribute. See {@link #getAggregationType}
075: * for description on the attribute.
076: * @param newValue New value to be set.
077: */
078: public void setAggregationType(
079: com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.AggregationType newValue);
080:
081: /**
082: * Returns the value of reference referenceColumnDefinitions.
083: * @return Value of reference referenceColumnDefinitions.
084: */
085: public java.util.Collection getReferenceColumnDefinitions();
086:
087: /**
088: * Returns the value of reference entity.
089: * @return Value of reference entity.
090: */
091: public com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.Entity getEntity();
092:
093: /**
094: * Sets the value of reference entity. See {@link #getEntity} for description
095: * on the reference.
096: * @param newValue New value to be set.
097: */
098: public void setEntity(
099: com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.Entity newValue);
100:
101: /**
102: * Returns the value of reference association.
103: * @return Value of reference association.
104: */
105: public com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.Association getAssociation();
106:
107: /**
108: * Sets the value of reference association. See {@link #getAssociation} for
109: * description on the reference.
110: * @param newValue New value to be set.
111: */
112: public void setAssociation(
113: com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.Association newValue);
114: }
|