public abstract class XSDAssociationEndLogic extends MetafacadeBase implements XSDAssociationEnd
XSDAssociationEnd,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot, logger| Modifier | Constructor and Description |
|---|---|
protected |
XSDAssociationEndLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyTaggedValues(ModelElementFacade element)
Copies all tagged values from the given ModelElementFacade to this model element facade.
|
Object |
findTaggedValue(String tagName)
Finds the tagged value with the specified 'tagName'.
|
Collection<Object> |
findTaggedValues(String tagName)
Returns all the values for the tagged value with the specified name.
|
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()
The association owning this association end.
|
String |
getBindedFullyQualifiedName(ModelElementFacade bindedElement)
Returns the fully qualified name of the model element.
|
Collection<ConstraintFacade> |
getConstraints()
Gets all constraints belonging to the model element.
|
Collection<ConstraintFacade> |
getConstraints(String kind)
Returns the constraints of the argument kind that have been placed onto this model.
|
String |
getDefault()
UML2: Returns the value of the 'Default' attribute.
|
String |
getDocumentation(String indent)
Gets the documentation for the model element, The indent argument is prefixed to each line.
|
String |
getDocumentation(String indent,
int lineLength)
This method returns the documentation for this model element, with the lines wrapped after
the specified number of characters, values of less than 1 will indicate no line wrapping is
required.
|
String |
getDocumentation(String indent,
int lineLength,
boolean htmlStyle)
This method returns the documentation for this model element, with the lines wrapped after
the specified number of characters, values of less than 1 will indicate no line wrapping is
required.
|
String |
getFullyQualifiedName()
The fully qualified name of this model element.
|
String |
getFullyQualifiedName(boolean modelName)
Returns the fully qualified name of the model element.
|
String |
getFullyQualifiedNamePath()
Returns the fully qualified name as a path, the returned value always starts with out a slash
'/'.
|
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.
|
String |
getId()
Gets the unique identifier of the underlying model element.
|
Collection<String> |
getKeywords()
UML2: Retrieves the keywords for this element.
|
String |
getLabel()
UML2: Retrieves a localized label for this named element.
|
TypeMappings |
getLanguageMappings()
The language mappings that have been set for this model element.
|
int |
getLower()
the lower value for the multiplicity
-only applicable for UML2
|
String |
getMaxOccurs()
Gets the maximum amount this element can occur within an XML Schema complex type (if the
object represents an attribute this value will be null).
|
String |
getMinOccurs()
Returns the minimum amount that this object can occur with an XML Schema complex type (if the
object represents an attribute this value will be null).
|
ModelFacade |
getModel()
Return the model containing this model element (multiple models may be loaded and processed
at the same time).
|
String |
getName()
The name of the model element.
|
AssociationEndFacade |
getOtherEnd()
The other association end owned by this end's association.
|
ModelElementFacade |
getPackage()
Gets the package to which this model element belongs.
|
String |
getPackageName()
The name of this model element's package.
|
String |
getPackageName(boolean modelName)
Gets the package name (optionally providing the ability to retrieve the model name and not
the mapped name).
|
String |
getPackagePath()
Returns the package as a path, the returned value always starts with out a slash '/'.
|
String |
getQualifiedName()
UML2: Returns the value of the 'Qualified Name' attribute.
|
String |
getRemoverName()
A name suitable for use when removing element from this association end in programming code.
|
PackageFacade |
getRootPackage()
Gets the root package for the model element.
|
String |
getSetterName()
A name suitable for use when accessing this association end in programming code.
|
Collection<DependencyFacade> |
getSourceDependencies()
Gets the dependencies for which this model element is the source.
|
StateMachineFacade |
getStateMachineContext()
If this model element is the context of an activity graph, this represents that activity
graph.
|
Collection<String> |
getStereotypeNames()
The collection of ALL stereotype names for this model element.
|
Collection<StereotypeFacade> |
getStereotypes()
Gets all stereotypes for this model element.
|
Collection<TaggedValueFacade> |
getTaggedValues()
Return the TaggedValues associated with this model element, under all stereotypes.
|
Collection<DependencyFacade> |
getTargetDependencies()
Gets the dependencies for which this model element is the target.
|
Object |
getTemplateParameter(String parameterName)
Get the template parameter for this model element having the parameterName
|
Collection<TemplateParameterFacade> |
getTemplateParameters()
Get the template parameters for this model element
|
ClassifierFacade |
getType()
The classifier attached to this association end.
|
int |
getUpper()
the upper value for the multiplicity (will be -1 for *)
-only applicable for UML2
|
String |
getValidationName() |
Object |
getValidationOwner() |
String |
getVisibility()
The visibility (i.e.
|
protected abstract String |
handleGetMaxOccurs()
Method to be implemented in descendants
Gets the maximum amount this element can occur within an XML Schema complex type (if the
object represents an attribute this value will be null).
|
protected abstract String |
handleGetMinOccurs()
Method to be implemented in descendants
Returns the minimum amount that this object can occur with an XML Schema complex type (if the
object represents an attribute this value will be null).
|
protected abstract boolean |
handleIsOwnerSchemaType() |
boolean |
hasExactStereotype(String stereotypeName)
Returns true if the model element has the exact stereotype (meaning no stereotype inheritance
is taken into account when searching for the stereotype), false otherwise.
|
boolean |
hasKeyword(String keywordName)
Does the UML Element contain the named Keyword? Keywords can be separated by space, comma,
pipe, semicolon, or << >>
|
boolean |
hasStereotype(String stereotypeName)
Returns true if the model element has the specified stereotype.
|
void |
initialize() |
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 |
isBindingDependenciesPresent()
True if there are target dependencies from this element that are instances of BindingFacade.
|
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 |
isConstraintsPresent()
Indicates if any constraints are present on this model element.
|
boolean |
isDerived()
If the association end is derived (its value is computed).
|
boolean |
isDocumentationPresent()
Indicates if any documentation is present on this model element.
|
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 |
isModelElementFacadeMetaType() |
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 |
isOwnerSchemaType()
Indicates whether or not the owner is a schema type.
|
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 |
isReservedWord()
True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript.
|
boolean |
isStatic()
Indicates if this associationEnd is 'static', meaning it has a classifier scope.
|
boolean |
isTemplateParametersPresent()
True is there are template parameters on this model element.
|
boolean |
isUnique()
UML2: If the association attribute is unique within the Collection type.
|
boolean |
isValidIdentifierName()
True if this element name is a valid identifier name in Java, C#, ANSI or ISO C, C++,
JavaScript.
|
boolean |
isXSDAssociationEndMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
String |
toString() |
String |
translateConstraint(String name,
String translation)
Searches for the constraint with the specified 'name' on this model element, and if found
translates it using the specified 'translation' from a translation library discovered by the
framework.
|
String[] |
translateConstraints(String translation)
Translates all constraints belonging to this model element with the given 'translation'.
|
String[] |
translateConstraints(String kind,
String translation)
Translates the constraints of the specified 'kind' belonging to this model element.
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages) |
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validateprotected Object metaObject
Objectprotected XSDAssociationEndLogic(Object metaObjectIn, String context)
metaObjectIn - context - public void resetMetafacadeContext(String context)
resetMetafacadeContext in class MetafacadeBasecontext - MetafacadeBase.resetMetafacadeContext(String context)public boolean isXSDAssociationEndMetaType()
XSDAssociationEndisXSDAssociationEndMetaType in interface XSDAssociationEndXSDAssociationEndprotected abstract boolean handleIsOwnerSchemaType()
XSDAssociationEnd.isOwnerSchemaType()public final boolean isOwnerSchemaType()
isOwnerSchemaType in interface XSDAssociationEndprotected abstract String handleGetMaxOccurs()
public String getMaxOccurs()
getMaxOccurs in interface XSDAssociationEndprotected abstract String handleGetMinOccurs()
public String getMinOccurs()
getMinOccurs in interface XSDAssociationEndpublic boolean isAssociationEndFacadeMetaType()
isAssociationEndFacadeMetaType in interface AssociationEndFacadeAssociationEndFacadepublic boolean isModelElementFacadeMetaType()
isModelElementFacadeMetaType in interface ModelElementFacadeModelElementFacadepublic String getAdderName()
getAdderName in interface AssociationEndFacadeAssociationEndFacade.getAdderName()public String getAggregationKind()
getAggregationKind in interface AssociationEndFacadeAssociationEndFacade.getAggregationKind()public AssociationFacade getAssociation()
getAssociation in interface AssociationEndFacadeAssociationEndFacade.getAssociation()public String getDefault()
getDefault in interface AssociationEndFacadeAssociationEndFacade.getDefault()public String getGetterName()
getGetterName in interface AssociationEndFacadeAssociationEndFacade.getGetterName()public String getGetterSetterTypeName()
getGetterSetterTypeName in interface AssociationEndFacadeAssociationEndFacade.getGetterSetterTypeName()public int getLower()
getLower in interface AssociationEndFacadeAssociationEndFacade.getLower()public AssociationEndFacade getOtherEnd()
getOtherEnd in interface AssociationEndFacadeAssociationEndFacade.getOtherEnd()public String getRemoverName()
getRemoverName in interface AssociationEndFacadeAssociationEndFacade.getRemoverName()public String getSetterName()
getSetterName in interface AssociationEndFacadeAssociationEndFacade.getSetterName()public ClassifierFacade getType()
getType in interface AssociationEndFacadeAssociationEndFacade.getType()public int getUpper()
getUpper in interface AssociationEndFacadeAssociationEndFacade.getUpper()public boolean isAggregation()
isAggregation in interface AssociationEndFacadeAssociationEndFacade.isAggregation()public boolean isBidirectional()
isBidirectional in interface AssociationEndFacadeAssociationEndFacade.isBidirectional()public boolean isChild()
isChild in interface AssociationEndFacadeAssociationEndFacade.isChild()public boolean isComposition()
isComposition in interface AssociationEndFacadeAssociationEndFacade.isComposition()public boolean isDerived()
isDerived in interface AssociationEndFacadeAssociationEndFacade.isDerived()public boolean isLeaf()
isLeaf in interface AssociationEndFacadeAssociationEndFacade.isLeaf()public boolean isMany()
isMany in interface AssociationEndFacadeAssociationEndFacade.isMany()public boolean isMany2Many()
isMany2Many in interface AssociationEndFacadeAssociationEndFacade.isMany2Many()public boolean isMany2One()
isMany2One in interface AssociationEndFacadeAssociationEndFacade.isMany2One()public boolean isNavigable()
isNavigable in interface AssociationEndFacadeAssociationEndFacade.isNavigable()public boolean isOne2Many()
isOne2Many in interface AssociationEndFacadeAssociationEndFacade.isOne2Many()public boolean isOne2One()
isOne2One in interface AssociationEndFacadeAssociationEndFacade.isOne2One()public boolean isOrdered()
isOrdered in interface AssociationEndFacadeAssociationEndFacade.isOrdered()public boolean isReadOnly()
isReadOnly in interface AssociationEndFacadeAssociationEndFacade.isReadOnly()public boolean isRequired()
isRequired in interface AssociationEndFacadeAssociationEndFacade.isRequired()public boolean isStatic()
isStatic in interface AssociationEndFacadeAssociationEndFacade.isStatic()public boolean isUnique()
isUnique in interface AssociationEndFacadeAssociationEndFacade.isUnique()public void copyTaggedValues(ModelElementFacade element)
copyTaggedValues in interface ModelElementFacadeModelElementFacade.copyTaggedValues(ModelElementFacade element)public Object findTaggedValue(String tagName)
findTaggedValue in interface ModelElementFacadeModelElementFacade.findTaggedValue(String tagName)public Collection<Object> findTaggedValues(String tagName)
findTaggedValues in interface ModelElementFacadeModelElementFacade.findTaggedValues(String tagName)public String getBindedFullyQualifiedName(ModelElementFacade bindedElement)
getBindedFullyQualifiedName in interface ModelElementFacadeModelElementFacade.getBindedFullyQualifiedName(ModelElementFacade bindedElement)public Collection<ConstraintFacade> getConstraints()
getConstraints in interface ModelElementFacadeModelElementFacade.getConstraints()public Collection<ConstraintFacade> getConstraints(String kind)
getConstraints in interface ModelElementFacadeModelElementFacade.getConstraints(String kind)public String getDocumentation(String indent)
getDocumentation(indent, 64).getDocumentation in interface ModelElementFacadeModelElementFacade.getDocumentation(String indent)public String getDocumentation(String indent, int lineLength)
getDocumentation(indent, lineLength, true).getDocumentation in interface ModelElementFacadeModelElementFacade.getDocumentation(String indent, int lineLength)public String getDocumentation(String indent, int lineLength, boolean htmlStyle)
getDocumentation in interface ModelElementFacadeModelElementFacade.getDocumentation(String indent, int lineLength, boolean htmlStyle)public String getFullyQualifiedName()
getFullyQualifiedName in interface ModelElementFacadeModelElementFacade.getFullyQualifiedName()public String getFullyQualifiedName(boolean modelName)
getFullyQualifiedName in interface ModelElementFacadeModelElementFacade.getFullyQualifiedName(boolean modelName)public String getFullyQualifiedNamePath()
getFullyQualifiedNamePath in interface ModelElementFacadeModelElementFacade.getFullyQualifiedNamePath()public String getId()
getId in interface ModelElementFacadeModelElementFacade.getId()public Collection<String> getKeywords()
getKeywords in interface ModelElementFacadeModelElementFacade.getKeywords()public String getLabel()
getLabel in interface ModelElementFacadeModelElementFacade.getLabel()public TypeMappings getLanguageMappings()
getLanguageMappings in interface ModelElementFacadeModelElementFacade.getLanguageMappings()public ModelFacade getModel()
getModel in interface ModelElementFacadeModelElementFacade.getModel()public String getName()
getName in interface ModelElementFacadeModelElementFacade.getName()public ModelElementFacade getPackage()
getPackage in interface ModelElementFacadeModelElementFacade.getPackage()public String getPackageName()
getPackageName in interface ModelElementFacadeModelElementFacade.getPackageName()public String getPackageName(boolean modelName)
getPackageName in interface ModelElementFacadeModelElementFacade.getPackageName(boolean modelName)public String getPackagePath()
getPackagePath in interface ModelElementFacadeModelElementFacade.getPackagePath()public String getQualifiedName()
getQualifiedName in interface ModelElementFacadeModelElementFacade.getQualifiedName()public PackageFacade getRootPackage()
getRootPackage in interface ModelElementFacadeModelElementFacade.getRootPackage()public Collection<DependencyFacade> getSourceDependencies()
getSourceDependencies in interface ModelElementFacadeModelElementFacade.getSourceDependencies()public StateMachineFacade getStateMachineContext()
getStateMachineContext in interface ModelElementFacadeModelElementFacade.getStateMachineContext()public Collection<String> getStereotypeNames()
getStereotypeNames in interface ModelElementFacadeModelElementFacade.getStereotypeNames()public Collection<StereotypeFacade> getStereotypes()
getStereotypes in interface ModelElementFacadeModelElementFacade.getStereotypes()public Collection<TaggedValueFacade> getTaggedValues()
getTaggedValues in interface ModelElementFacadeModelElementFacade.getTaggedValues()public Collection<DependencyFacade> getTargetDependencies()
getTargetDependencies in interface ModelElementFacadeModelElementFacade.getTargetDependencies()public Object getTemplateParameter(String parameterName)
getTemplateParameter in interface ModelElementFacadeModelElementFacade.getTemplateParameter(String parameterName)public Collection<TemplateParameterFacade> getTemplateParameters()
getTemplateParameters in interface ModelElementFacadeModelElementFacade.getTemplateParameters()public String getVisibility()
getVisibility in interface ModelElementFacadeModelElementFacade.getVisibility()public boolean hasExactStereotype(String stereotypeName)
hasExactStereotype in interface ModelElementFacadeModelElementFacade.hasExactStereotype(String stereotypeName)public boolean hasKeyword(String keywordName)
hasKeyword in interface ModelElementFacadeModelElementFacade.hasKeyword(String keywordName)public boolean hasStereotype(String stereotypeName)
hasStereotype in interface ModelElementFacadeModelElementFacade.hasStereotype(String stereotypeName)public boolean isBindingDependenciesPresent()
isBindingDependenciesPresent in interface ModelElementFacadeModelElementFacade.isBindingDependenciesPresent()public boolean isConstraintsPresent()
isConstraintsPresent in interface ModelElementFacadeModelElementFacade.isConstraintsPresent()public boolean isDocumentationPresent()
isDocumentationPresent in interface ModelElementFacadeModelElementFacade.isDocumentationPresent()public boolean isReservedWord()
isReservedWord in interface ModelElementFacadeModelElementFacade.isReservedWord()public boolean isTemplateParametersPresent()
isTemplateParametersPresent in interface ModelElementFacadeModelElementFacade.isTemplateParametersPresent()public boolean isValidIdentifierName()
isValidIdentifierName in interface ModelElementFacadeModelElementFacade.isValidIdentifierName()public String translateConstraint(String name, String translation)
translateConstraint in interface ModelElementFacadeModelElementFacade.translateConstraint(String name, String translation)public String[] translateConstraints(String translation)
translateConstraints in interface ModelElementFacadeModelElementFacade.translateConstraints(String translation)public String[] translateConstraints(String kind, String translation)
translateConstraints in interface ModelElementFacadeModelElementFacade.translateConstraints(String kind, String translation)public void initialize()
initialize in interface ModelElementFacadeinitialize in class MetafacadeBaseMetafacadeBase.initialize()public Object getValidationOwner()
getValidationOwner in interface ModelElementFacadegetValidationOwner in class MetafacadeBaseMetafacadeBase.getValidationOwner()public String getValidationName()
getValidationName in interface ModelElementFacadegetValidationName in class MetafacadeBaseMetafacadeBase.getValidationName()public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
validateInvariants in interface ModelElementFacadevalidateInvariants in class MetafacadeBasevalidationMessages - CollectionMetafacadeBase.validateInvariants(Collection validationMessages)public String toString()
toString in class MetafacadeBaseObject.toString()Copyright © 2003–2014 AndroMDA.org. All rights reserved.