public abstract class AssociationEndFacadeLogic extends ModelElementFacadeLogicImpl implements AssociationEndFacade
AssociationEndFacade,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected org.omg.uml.foundation.core.AssociationEnd |
metaObject
The underlying UML object
|
contextRoot| Modifier | Constructor and Description |
|---|---|
protected |
AssociationEndFacadeLogic(org.omg.uml.foundation.core.AssociationEnd metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAdderName()
A name suitable for use when adding new elements to this association end in programming code.
|
String |
getAggregationKind()
Returns the value of the 'Aggregation' attribute (none, shared, composite).
|
AssociationFacade |
getAssociation()
Gets the association ends belonging to this association.
|
String |
getDefault()
UML2: Returns the value of the 'Default' attribute.
|
String |
getGetterName()
A name suitable for use when accessing this association end in programming code.
|
String |
getGetterSetterTypeName()
The name of the type that is returned on the accessor and mutator operations, determined in
part by the multiplicity.
|
int |
getLower()
the lower value for the multiplicity
-only applicable for UML2
|
AssociationEndFacade |
getOtherEnd()
A property related by memberEnd or its specializations to an association represents an end of
the
association.
|
String |
getRemoverName()
A name suitable for use when removing element from this association end in programming code.
|
String |
getSetterName()
A name suitable for use when accessing this association end in programming code.
|
ClassifierFacade |
getType()
A property related by memberEnd or its specializations to an association represents an end of
the
association.
|
int |
getUpper()
the upper value for the multiplicity (will be -1 for *)
-only applicable for UML2
|
protected abstract String |
handleGetAdderName() |
protected abstract String |
handleGetAggregationKind() |
protected abstract Object |
handleGetAssociation()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract String |
handleGetDefault() |
protected abstract String |
handleGetGetterName() |
protected abstract String |
handleGetGetterSetterTypeName() |
protected abstract int |
handleGetLower() |
protected abstract Object |
handleGetOtherEnd()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract String |
handleGetRemoverName() |
protected abstract String |
handleGetSetterName() |
protected abstract Object |
handleGetType()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract int |
handleGetUpper() |
protected abstract boolean |
handleIsAggregation() |
protected abstract boolean |
handleIsBidirectional() |
protected abstract boolean |
handleIsChild() |
protected abstract boolean |
handleIsComposition() |
protected abstract boolean |
handleIsDerived() |
protected abstract boolean |
handleIsLeaf() |
protected abstract boolean |
handleIsMany() |
protected abstract boolean |
handleIsMany2Many() |
protected abstract boolean |
handleIsMany2One() |
protected abstract boolean |
handleIsNavigable() |
protected abstract boolean |
handleIsOne2Many() |
protected abstract boolean |
handleIsOne2One() |
protected abstract boolean |
handleIsOrdered() |
protected abstract boolean |
handleIsReadOnly() |
protected abstract boolean |
handleIsRequired() |
protected abstract boolean |
handleIsStatic() |
protected abstract boolean |
handleIsUnique() |
boolean |
isAggregation()
True if this association end represents an aggregation relationship.
|
boolean |
isAssociationEndFacadeMetaType() |
boolean |
isBidirectional()
Is true if update of one side of the association should also update the other side.
|
boolean |
isChild()
Returns whether or not (true/false) this association end is the child end of the assocation
(i.e.
|
boolean |
isComposition()
True if this association end represents a composition relationship.
|
boolean |
isDerived()
If the association end is derived (its value is computed).
|
boolean |
isLeaf()
IsLeaf property in the association end property.
|
boolean |
isMany()
True if this association end's multiplicity is greater than one.
|
boolean |
isMany2Many()
True if this association end's and the other end's multiplicities are both many.
|
boolean |
isMany2One()
True if this association end's multiplicity is many while the other end's is one.
|
boolean |
isNavigable()
True if it is possible to navigate from the other end to this association end .
|
boolean |
isOne2Many()
True if this association end's multiplicity is one while the other end's is many.
|
boolean |
isOne2One()
True if this association end's and the other end's multiplicities are both one.
|
boolean |
isOrdered()
Indicates whether or not the association ends are ordered (if multiplicity is greater than
1).
|
boolean |
isReadOnly()
True if the association end cannot be changed.
|
boolean |
isRequired()
True if this association end's multiplicity is strictly greater than zero.
|
boolean |
isStatic()
Indicates if this associationEnd is 'static', meaning it has a classifier scope.
|
boolean |
isUnique()
UML2: If the association attribute is unique within the Collection type.
|
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::AssociationEndFacade::association end needs a type
|
getArraySuffix, getValidationName, handleCopyTaggedValues, handleFindTaggedValue, handleFindTaggedValues, handleGetBindedFullyQualifiedName, handleGetConstraints, handleGetConstraints, handleGetDocumentation, handleGetDocumentation, handleGetDocumentation, handleGetFullyQualifiedName, handleGetFullyQualifiedName, handleGetFullyQualifiedNamePath, handleGetId, handleGetKeywords, handleGetLabel, handleGetLanguageMappings, handleGetModel, handleGetName, handleGetOwnedElements, handleGetOwner, handleGetPackage, handleGetPackageName, handleGetPackageName, handleGetPackagePath, handleGetQualifiedName, handleGetRootPackage, handleGetSourceDependencies, handleGetStateMachineContext, handleGetStereotypeNames, handleGetStereotypes, handleGetTaggedValues, handleGetTargetDependencies, handleGetTemplateParameter, handleGetTemplateParameters, handleGetVisibility, handleHasExactStereotype, handleHasKeyword, handleHasStereotype, handleIsBindingDependenciesPresent, handleIsConstraintsPresent, handleIsDocumentationPresent, handleIsReservedWord, handleIsTemplateParametersPresent, handleIsValidIdentifierName, handleTranslateConstraint, handleTranslateConstraints, handleTranslateConstraintscopyTaggedValues, findTaggedValue, findTaggedValues, getBindedFullyQualifiedName, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getKeywords, getLabel, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getQualifiedName, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getVisibility, hasExactStereotype, hasKeyword, hasStereotype, isBindingDependenciesPresent, isConstraintsPresent, isDocumentationPresent, isModelElementFacadeMetaType, isReservedWord, isTemplateParametersPresent, isValidIdentifierName, toString, translateConstraint, translateConstraints, translateConstraintscompareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, getValidationOwner, hashCode, initialize, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopyTaggedValues, findTaggedValue, findTaggedValues, getBindedFullyQualifiedName, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getKeywords, getLabel, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getQualifiedName, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasKeyword, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isDocumentationPresent, isModelElementFacadeMetaType, isReservedWord, isTemplateParametersPresent, isValidIdentifierName, translateConstraint, translateConstraints, translateConstraintsprotected org.omg.uml.foundation.core.AssociationEnd metaObject
AssociationEndprotected AssociationEndFacadeLogic(org.omg.uml.foundation.core.AssociationEnd metaObjectIn, String context)
metaObjectIn - context - public void resetMetafacadeContext(String context)
resetMetafacadeContext in class ModelElementFacadeLogiccontext - public boolean isAssociationEndFacadeMetaType()
isAssociationEndFacadeMetaType in interface AssociationEndFacadeAssociationEndFacadeprotected abstract boolean handleIsOne2One()
AssociationEndFacade.isOne2One()public final boolean isOne2One()
isOne2One in interface AssociationEndFacadeprotected abstract boolean handleIsOne2Many()
AssociationEndFacade.isOne2Many()public final boolean isOne2Many()
isOne2Many in interface AssociationEndFacadeprotected abstract boolean handleIsMany2One()
AssociationEndFacade.isMany2One()public final boolean isMany2One()
isMany2One in interface AssociationEndFacadeprotected abstract boolean handleIsMany2Many()
AssociationEndFacade.isMany2Many()public final boolean isMany2Many()
isMany2Many in interface AssociationEndFacadeprotected abstract boolean handleIsAggregation()
AssociationEndFacade.isAggregation()public final boolean isAggregation()
isAggregation in interface AssociationEndFacadeprotected abstract boolean handleIsComposition()
AssociationEndFacade.isComposition()public final boolean isComposition()
isComposition in interface AssociationEndFacadeprotected abstract boolean handleIsOrdered()
AssociationEndFacade.isOrdered()public final boolean isOrdered()
isOrdered in interface AssociationEndFacadeprotected abstract boolean handleIsReadOnly()
AssociationEndFacade.isReadOnly()public final boolean isReadOnly()
isReadOnly in interface AssociationEndFacadeprotected abstract boolean handleIsNavigable()
AssociationEndFacade.isNavigable()public final boolean isNavigable()
isNavigable in interface AssociationEndFacadeprotected abstract String handleGetGetterName()
AssociationEndFacade.getGetterName()public final String getGetterName()
getGetterName in interface AssociationEndFacadeprotected abstract String handleGetSetterName()
AssociationEndFacade.getSetterName()public final String getSetterName()
getSetterName in interface AssociationEndFacadeprotected abstract String handleGetGetterSetterTypeName()
AssociationEndFacade.getGetterSetterTypeName()public final String getGetterSetterTypeName()
getGetterSetterTypeName in interface AssociationEndFacadeprotected abstract boolean handleIsMany()
AssociationEndFacade.isMany()public final boolean isMany()
isMany in interface AssociationEndFacadeprotected abstract boolean handleIsRequired()
AssociationEndFacade.isRequired()public final boolean isRequired()
isRequired in interface AssociationEndFacadeprotected abstract boolean handleIsChild()
AssociationEndFacade.isChild()public final boolean isChild()
isChild in interface AssociationEndFacadeprotected abstract int handleGetUpper()
AssociationEndFacade.getUpper()public final int getUpper()
getUpper in interface AssociationEndFacadeprotected abstract int handleGetLower()
AssociationEndFacade.getLower()public final int getLower()
getLower in interface AssociationEndFacadeprotected abstract String handleGetDefault()
AssociationEndFacade.getDefault()public final String getDefault()
getDefault in interface AssociationEndFacadeprotected abstract String handleGetAggregationKind()
AssociationEndFacade.getAggregationKind()public final String getAggregationKind()
getAggregationKind in interface AssociationEndFacadeprotected abstract boolean handleIsLeaf()
AssociationEndFacade.isLeaf()public final boolean isLeaf()
isLeaf in interface AssociationEndFacadeprotected abstract boolean handleIsUnique()
AssociationEndFacade.isUnique()public final boolean isUnique()
isUnique in interface AssociationEndFacadeprotected abstract String handleGetRemoverName()
AssociationEndFacade.getRemoverName()public final String getRemoverName()
getRemoverName in interface AssociationEndFacadeprotected abstract String handleGetAdderName()
AssociationEndFacade.getAdderName()public final String getAdderName()
getAdderName in interface AssociationEndFacadeprotected abstract boolean handleIsBidirectional()
AssociationEndFacade.isBidirectional()public final boolean isBidirectional()
isBidirectional in interface AssociationEndFacadeprotected abstract boolean handleIsDerived()
AssociationEndFacade.isDerived()public final boolean isDerived()
isDerived in interface AssociationEndFacadeprotected abstract boolean handleIsStatic()
AssociationEndFacade.isStatic()public final boolean isStatic()
isStatic in interface AssociationEndFacadepublic final AssociationFacade getAssociation()
getAssociation in interface AssociationEndFacadeprotected abstract Object handleGetAssociation()
public final ClassifierFacade getType()
getType in interface AssociationEndFacadeprotected abstract Object handleGetType()
public final AssociationEndFacade getOtherEnd()
getOtherEnd in interface AssociationEndFacadeprotected abstract Object handleGetOtherEnd()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::AssociationEndFacade::association end needs a type
Error: Each association end needs a type, you cannot leave the type unspecified.
OCL: context AssociationEndFacade inv: type.name->notEmpty()
validateInvariants in interface ModelElementFacadevalidateInvariants in class ModelElementFacadeLogicvalidationMessages - CollectionModelElementFacadeLogic.validateInvariants(Collection validationMessages)Copyright © 2003–2014 AndroMDA.org. All rights reserved.