public abstract class HibernateAssociationEndLogic extends MetafacadeBase implements HibernateAssociationEnd
HibernateAssociationEnd
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
HibernateAssociationEndLogic(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.
|
String |
getCollectionIndexName()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.collectionIndexName
|
String |
getCollectionIndexType()
this will only apply for Maps, it will return the type of the attribute specified on the
CollectionIndexName tagged value
|
String |
getCollectionType()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.collectionType
|
String |
getCollectionTypeImplementation()
The actual implementation of the collection type.
|
String |
getColumnIndex()
The name of the index to create on a column that persists the foreign key attribute.
|
String |
getColumnName()
The name of the column that makes up the foreign key.
|
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 |
getEmbedXML()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.embedXML
|
String |
getForeignKeyConstraintName()
The name of the foreign key constraint to use for databases.
|
String |
getForeignKeySuffix()
The current foreign key suffix specified for this entity association end facade.
|
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 |
getHibernateAggregationCascade()
Stores the value indicating how a UML aggregation should be interpreted as cascade.
|
String |
getHibernateCascade()
Stores the hibernate cascade attribute of this association end.
|
String |
getHibernateCompositionCascade()
Stores the value indicating how a UML composition should be interpreted as cascade.
|
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
|
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.
|
String |
getOrderByColumns()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.orderByColumns
|
AssociationEndFacade |
getOtherEnd()
The other association end owned by this end's association.
|
String |
getOuterJoin()
This value will determine how Hibernate manages the asocciation on a many to one and one to
one relation.
|
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.
|
String |
getSortType()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.sortType
|
Collection<DependencyFacade> |
getSourceDependencies()
Gets the dependencies for which this model element is the source.
|
String |
getSqlType()
The SQL type for this the foreign key column of this association end.
|
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.
|
String |
getUniqueGroup()
The name of the unique-key that this unique association end belongs
|
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.
|
String |
getWhereClause()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.whereClause
|
String |
getXmlTagName()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.xmlTagName
|
protected abstract String |
handleGetCollectionIndexName() |
protected abstract String |
handleGetCollectionIndexType() |
protected abstract String |
handleGetCollectionType() |
protected abstract String |
handleGetCollectionTypeImplementation() |
protected abstract String |
handleGetEmbedXML() |
protected abstract String |
handleGetHibernateAggregationCascade() |
protected abstract String |
handleGetHibernateCascade() |
protected abstract String |
handleGetHibernateCompositionCascade() |
protected abstract String |
handleGetOrderByColumns() |
protected abstract String |
handleGetOuterJoin() |
protected abstract String |
handleGetSortType() |
protected abstract String |
handleGetWhereClause() |
protected abstract String |
handleGetXmlTagName() |
protected abstract boolean |
handleIsBag() |
protected abstract boolean |
handleIsBidirectionalOrderedListChild() |
protected abstract boolean |
handleIsBidirectionalOrderedListParent() |
protected abstract boolean |
handleIsHibernateInverse() |
protected abstract boolean |
handleIsIndexedCollection() |
protected abstract boolean |
handleIsLazy() |
protected abstract boolean |
handleIsList() |
protected abstract boolean |
handleIsMap() |
protected abstract boolean |
handleIsOne2OnePrimary() |
protected abstract boolean |
handleIsOwning() |
protected abstract boolean |
handleIsSet() |
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 |
isBag()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.bag
|
boolean |
isBidirectional()
Is true if update of one side of the association should also update the other side.
|
boolean |
isBidirectionalOrderedListChild()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.bidirectionalOrderedListChild
|
boolean |
isBidirectionalOrderedListParent()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.bidirectionalOrderedListParent
|
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 |
isEntityAssociationEndMetaType() |
boolean |
isForeignIdentifier()
Indicates whether or not a foreign identifier should be used for the entity that owns this
association end.
|
boolean |
isHibernateAssociationEndMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
boolean |
isHibernateInverse()
Whether or not the hibernate inverse attribute is true or false.
|
boolean |
isIdentifier()
True if this association is an identifier for its entity.
|
boolean |
isIdentifiersPresent()
True if the associationEnd is marked with identifiers stereotype, false otherwise.
|
boolean |
isIndexedCollection()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.indexedCollection
|
boolean |
isLazy()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.lazy
|
boolean |
isLeaf()
IsLeaf property in the association end property.
|
boolean |
isList()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.list
|
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 |
isMap()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.map
|
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 |
isOne2OnePrimary()
Returns whether or not a one-to-one mapping should be the "primary" mapping for the one2one.
|
boolean |
isOrdered()
Indicates whether or not the association ends are ordered (if multiplicity is greater than
1).
|
boolean |
isOwning()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.owning
|
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 |
isSet()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEnd.set
|
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 |
isTransient()
Indicates this association end should be ignored by the persistence layer.
|
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.
|
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)
Constraint: org::andromda::cartridges::hibernate::metafacades::HibernateAssociationEnd::one-to-one associations must have aggregation on one side
|
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
protected Object metaObject
Object
protected HibernateAssociationEndLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class MetafacadeBase
context
- MetafacadeBase.resetMetafacadeContext(String context)
public boolean isHibernateAssociationEndMetaType()
HibernateAssociationEnd
isHibernateAssociationEndMetaType
in interface HibernateAssociationEnd
HibernateAssociationEnd
protected abstract boolean handleIsLazy()
HibernateAssociationEnd.isLazy()
public final boolean isLazy()
isLazy
in interface HibernateAssociationEnd
protected abstract String handleGetOuterJoin()
HibernateAssociationEnd.getOuterJoin()
public final String getOuterJoin()
getOuterJoin
in interface HibernateAssociationEnd
protected abstract boolean handleIsHibernateInverse()
HibernateAssociationEnd.isHibernateInverse()
public final boolean isHibernateInverse()
isHibernateInverse
in interface HibernateAssociationEnd
protected abstract String handleGetHibernateCascade()
HibernateAssociationEnd.getHibernateCascade()
public final String getHibernateCascade()
getHibernateCascade
in interface HibernateAssociationEnd
protected abstract boolean handleIsOne2OnePrimary()
HibernateAssociationEnd.isOne2OnePrimary()
public final boolean isOne2OnePrimary()
isOne2OnePrimary
in interface HibernateAssociationEnd
protected abstract String handleGetCollectionType()
HibernateAssociationEnd.getCollectionType()
public final String getCollectionType()
getCollectionType
in interface HibernateAssociationEnd
protected abstract String handleGetSortType()
HibernateAssociationEnd.getSortType()
public final String getSortType()
getSortType
in interface HibernateAssociationEnd
protected abstract String handleGetOrderByColumns()
HibernateAssociationEnd.getOrderByColumns()
public final String getOrderByColumns()
getOrderByColumns
in interface HibernateAssociationEnd
protected abstract String handleGetWhereClause()
HibernateAssociationEnd.getWhereClause()
public final String getWhereClause()
getWhereClause
in interface HibernateAssociationEnd
protected abstract boolean handleIsIndexedCollection()
HibernateAssociationEnd.isIndexedCollection()
public final boolean isIndexedCollection()
isIndexedCollection
in interface HibernateAssociationEnd
protected abstract String handleGetCollectionIndexName()
HibernateAssociationEnd.getCollectionIndexName()
public final String getCollectionIndexName()
getCollectionIndexName
in interface HibernateAssociationEnd
protected abstract boolean handleIsMap()
HibernateAssociationEnd.isMap()
public final boolean isMap()
isMap
in interface HibernateAssociationEnd
protected abstract boolean handleIsList()
HibernateAssociationEnd.isList()
public final boolean isList()
isList
in interface HibernateAssociationEnd
protected abstract boolean handleIsSet()
HibernateAssociationEnd.isSet()
public final boolean isSet()
isSet
in interface HibernateAssociationEnd
protected abstract boolean handleIsBag()
HibernateAssociationEnd.isBag()
public final boolean isBag()
isBag
in interface HibernateAssociationEnd
protected abstract String handleGetCollectionIndexType()
HibernateAssociationEnd.getCollectionIndexType()
public final String getCollectionIndexType()
getCollectionIndexType
in interface HibernateAssociationEnd
protected abstract String handleGetCollectionTypeImplementation()
HibernateAssociationEnd.getCollectionTypeImplementation()
public final String getCollectionTypeImplementation()
getCollectionTypeImplementation
in interface HibernateAssociationEnd
protected abstract String handleGetHibernateAggregationCascade()
HibernateAssociationEnd.getHibernateAggregationCascade()
public final String getHibernateAggregationCascade()
getHibernateAggregationCascade
in interface HibernateAssociationEnd
protected abstract String handleGetHibernateCompositionCascade()
HibernateAssociationEnd.getHibernateCompositionCascade()
public final String getHibernateCompositionCascade()
getHibernateCompositionCascade
in interface HibernateAssociationEnd
protected abstract boolean handleIsBidirectionalOrderedListChild()
HibernateAssociationEnd.isBidirectionalOrderedListChild()
public final boolean isBidirectionalOrderedListChild()
isBidirectionalOrderedListChild
in interface HibernateAssociationEnd
protected abstract boolean handleIsBidirectionalOrderedListParent()
HibernateAssociationEnd.isBidirectionalOrderedListParent()
public final boolean isBidirectionalOrderedListParent()
isBidirectionalOrderedListParent
in interface HibernateAssociationEnd
protected abstract String handleGetEmbedXML()
HibernateAssociationEnd.getEmbedXML()
public final String getEmbedXML()
getEmbedXML
in interface HibernateAssociationEnd
protected abstract String handleGetXmlTagName()
HibernateAssociationEnd.getXmlTagName()
public final String getXmlTagName()
getXmlTagName
in interface HibernateAssociationEnd
protected abstract boolean handleIsOwning()
HibernateAssociationEnd.isOwning()
public final boolean isOwning()
isOwning
in interface HibernateAssociationEnd
public boolean isEntityAssociationEndMetaType()
isEntityAssociationEndMetaType
in interface EntityAssociationEnd
EntityAssociationEnd
public boolean isAssociationEndFacadeMetaType()
isAssociationEndFacadeMetaType
in interface AssociationEndFacade
AssociationEndFacade
public boolean isModelElementFacadeMetaType()
isModelElementFacadeMetaType
in interface ModelElementFacade
ModelElementFacade
public String getAdderName()
getAdderName
in interface AssociationEndFacade
AssociationEndFacade.getAdderName()
public String getAggregationKind()
getAggregationKind
in interface AssociationEndFacade
AssociationEndFacade.getAggregationKind()
public AssociationFacade getAssociation()
getAssociation
in interface AssociationEndFacade
AssociationEndFacade.getAssociation()
public String getDefault()
getDefault
in interface AssociationEndFacade
AssociationEndFacade.getDefault()
public String getGetterName()
getGetterName
in interface AssociationEndFacade
AssociationEndFacade.getGetterName()
public String getGetterSetterTypeName()
getGetterSetterTypeName
in interface AssociationEndFacade
AssociationEndFacade.getGetterSetterTypeName()
public int getLower()
getLower
in interface AssociationEndFacade
AssociationEndFacade.getLower()
public AssociationEndFacade getOtherEnd()
getOtherEnd
in interface AssociationEndFacade
AssociationEndFacade.getOtherEnd()
public String getRemoverName()
getRemoverName
in interface AssociationEndFacade
AssociationEndFacade.getRemoverName()
public String getSetterName()
getSetterName
in interface AssociationEndFacade
AssociationEndFacade.getSetterName()
public ClassifierFacade getType()
getType
in interface AssociationEndFacade
AssociationEndFacade.getType()
public int getUpper()
getUpper
in interface AssociationEndFacade
AssociationEndFacade.getUpper()
public boolean isAggregation()
isAggregation
in interface AssociationEndFacade
AssociationEndFacade.isAggregation()
public boolean isBidirectional()
isBidirectional
in interface AssociationEndFacade
AssociationEndFacade.isBidirectional()
public boolean isChild()
isChild
in interface AssociationEndFacade
AssociationEndFacade.isChild()
public boolean isComposition()
isComposition
in interface AssociationEndFacade
AssociationEndFacade.isComposition()
public boolean isDerived()
isDerived
in interface AssociationEndFacade
AssociationEndFacade.isDerived()
public boolean isLeaf()
isLeaf
in interface AssociationEndFacade
AssociationEndFacade.isLeaf()
public boolean isMany()
isMany
in interface AssociationEndFacade
AssociationEndFacade.isMany()
public boolean isMany2Many()
isMany2Many
in interface AssociationEndFacade
AssociationEndFacade.isMany2Many()
public boolean isMany2One()
isMany2One
in interface AssociationEndFacade
AssociationEndFacade.isMany2One()
public boolean isNavigable()
isNavigable
in interface AssociationEndFacade
AssociationEndFacade.isNavigable()
public boolean isOne2Many()
isOne2Many
in interface AssociationEndFacade
AssociationEndFacade.isOne2Many()
public boolean isOne2One()
isOne2One
in interface AssociationEndFacade
AssociationEndFacade.isOne2One()
public boolean isOrdered()
isOrdered
in interface AssociationEndFacade
AssociationEndFacade.isOrdered()
public boolean isReadOnly()
isReadOnly
in interface AssociationEndFacade
AssociationEndFacade.isReadOnly()
public boolean isRequired()
isRequired
in interface AssociationEndFacade
AssociationEndFacade.isRequired()
public boolean isStatic()
isStatic
in interface AssociationEndFacade
AssociationEndFacade.isStatic()
public boolean isUnique()
isUnique
in interface AssociationEndFacade
AssociationEndFacade.isUnique()
public String getColumnIndex()
getColumnIndex
in interface EntityAssociationEnd
EntityAssociationEnd.getColumnIndex()
public String getColumnName()
getColumnName
in interface EntityAssociationEnd
EntityAssociationEnd.getColumnName()
public String getForeignKeyConstraintName()
getForeignKeyConstraintName
in interface EntityAssociationEnd
EntityAssociationEnd.getForeignKeyConstraintName()
public String getForeignKeySuffix()
getForeignKeySuffix
in interface EntityAssociationEnd
EntityAssociationEnd.getForeignKeySuffix()
public String getSqlType()
getSqlType
in interface EntityAssociationEnd
EntityAssociationEnd.getSqlType()
public String getUniqueGroup()
getUniqueGroup
in interface EntityAssociationEnd
EntityAssociationEnd.getUniqueGroup()
public boolean isForeignIdentifier()
isForeignIdentifier
in interface EntityAssociationEnd
EntityAssociationEnd.isForeignIdentifier()
public boolean isIdentifier()
isIdentifier
in interface EntityAssociationEnd
EntityAssociationEnd.isIdentifier()
public boolean isIdentifiersPresent()
isIdentifiersPresent
in interface EntityAssociationEnd
EntityAssociationEnd.isIdentifiersPresent()
public boolean isTransient()
isTransient
in interface EntityAssociationEnd
EntityAssociationEnd.isTransient()
public void copyTaggedValues(ModelElementFacade element)
copyTaggedValues
in interface ModelElementFacade
ModelElementFacade.copyTaggedValues(ModelElementFacade element)
public Object findTaggedValue(String tagName)
findTaggedValue
in interface ModelElementFacade
ModelElementFacade.findTaggedValue(String tagName)
public Collection<Object> findTaggedValues(String tagName)
findTaggedValues
in interface ModelElementFacade
ModelElementFacade.findTaggedValues(String tagName)
public String getBindedFullyQualifiedName(ModelElementFacade bindedElement)
getBindedFullyQualifiedName
in interface ModelElementFacade
ModelElementFacade.getBindedFullyQualifiedName(ModelElementFacade bindedElement)
public Collection<ConstraintFacade> getConstraints()
getConstraints
in interface ModelElementFacade
ModelElementFacade.getConstraints()
public Collection<ConstraintFacade> getConstraints(String kind)
getConstraints
in interface ModelElementFacade
ModelElementFacade.getConstraints(String kind)
public String getDocumentation(String indent)
getDocumentation(indent, 64)
.getDocumentation
in interface ModelElementFacade
ModelElementFacade.getDocumentation(String indent)
public String getDocumentation(String indent, int lineLength)
getDocumentation(indent, lineLength, true)
.getDocumentation
in interface ModelElementFacade
ModelElementFacade.getDocumentation(String indent, int lineLength)
public String getDocumentation(String indent, int lineLength, boolean htmlStyle)
getDocumentation
in interface ModelElementFacade
ModelElementFacade.getDocumentation(String indent, int lineLength, boolean htmlStyle)
public String getFullyQualifiedName()
getFullyQualifiedName
in interface ModelElementFacade
ModelElementFacade.getFullyQualifiedName()
public String getFullyQualifiedName(boolean modelName)
getFullyQualifiedName
in interface ModelElementFacade
ModelElementFacade.getFullyQualifiedName(boolean modelName)
public String getFullyQualifiedNamePath()
getFullyQualifiedNamePath
in interface ModelElementFacade
ModelElementFacade.getFullyQualifiedNamePath()
public String getId()
getId
in interface ModelElementFacade
ModelElementFacade.getId()
public Collection<String> getKeywords()
getKeywords
in interface ModelElementFacade
ModelElementFacade.getKeywords()
public String getLabel()
getLabel
in interface ModelElementFacade
ModelElementFacade.getLabel()
public TypeMappings getLanguageMappings()
getLanguageMappings
in interface ModelElementFacade
ModelElementFacade.getLanguageMappings()
public ModelFacade getModel()
getModel
in interface ModelElementFacade
ModelElementFacade.getModel()
public String getName()
getName
in interface ModelElementFacade
ModelElementFacade.getName()
public ModelElementFacade getPackage()
getPackage
in interface ModelElementFacade
ModelElementFacade.getPackage()
public String getPackageName()
getPackageName
in interface ModelElementFacade
ModelElementFacade.getPackageName()
public String getPackageName(boolean modelName)
getPackageName
in interface ModelElementFacade
ModelElementFacade.getPackageName(boolean modelName)
public String getPackagePath()
getPackagePath
in interface ModelElementFacade
ModelElementFacade.getPackagePath()
public String getQualifiedName()
getQualifiedName
in interface ModelElementFacade
ModelElementFacade.getQualifiedName()
public PackageFacade getRootPackage()
getRootPackage
in interface ModelElementFacade
ModelElementFacade.getRootPackage()
public Collection<DependencyFacade> getSourceDependencies()
getSourceDependencies
in interface ModelElementFacade
ModelElementFacade.getSourceDependencies()
public StateMachineFacade getStateMachineContext()
getStateMachineContext
in interface ModelElementFacade
ModelElementFacade.getStateMachineContext()
public Collection<String> getStereotypeNames()
getStereotypeNames
in interface ModelElementFacade
ModelElementFacade.getStereotypeNames()
public Collection<StereotypeFacade> getStereotypes()
getStereotypes
in interface ModelElementFacade
ModelElementFacade.getStereotypes()
public Collection<TaggedValueFacade> getTaggedValues()
getTaggedValues
in interface ModelElementFacade
ModelElementFacade.getTaggedValues()
public Collection<DependencyFacade> getTargetDependencies()
getTargetDependencies
in interface ModelElementFacade
ModelElementFacade.getTargetDependencies()
public Object getTemplateParameter(String parameterName)
getTemplateParameter
in interface ModelElementFacade
ModelElementFacade.getTemplateParameter(String parameterName)
public Collection<TemplateParameterFacade> getTemplateParameters()
getTemplateParameters
in interface ModelElementFacade
ModelElementFacade.getTemplateParameters()
public String getVisibility()
getVisibility
in interface ModelElementFacade
ModelElementFacade.getVisibility()
public boolean hasExactStereotype(String stereotypeName)
hasExactStereotype
in interface ModelElementFacade
ModelElementFacade.hasExactStereotype(String stereotypeName)
public boolean hasKeyword(String keywordName)
hasKeyword
in interface ModelElementFacade
ModelElementFacade.hasKeyword(String keywordName)
public boolean hasStereotype(String stereotypeName)
hasStereotype
in interface ModelElementFacade
ModelElementFacade.hasStereotype(String stereotypeName)
public boolean isBindingDependenciesPresent()
isBindingDependenciesPresent
in interface ModelElementFacade
ModelElementFacade.isBindingDependenciesPresent()
public boolean isConstraintsPresent()
isConstraintsPresent
in interface ModelElementFacade
ModelElementFacade.isConstraintsPresent()
public boolean isDocumentationPresent()
isDocumentationPresent
in interface ModelElementFacade
ModelElementFacade.isDocumentationPresent()
public boolean isReservedWord()
isReservedWord
in interface ModelElementFacade
ModelElementFacade.isReservedWord()
public boolean isTemplateParametersPresent()
isTemplateParametersPresent
in interface ModelElementFacade
ModelElementFacade.isTemplateParametersPresent()
public boolean isValidIdentifierName()
isValidIdentifierName
in interface ModelElementFacade
ModelElementFacade.isValidIdentifierName()
public String translateConstraint(String name, String translation)
translateConstraint
in interface ModelElementFacade
ModelElementFacade.translateConstraint(String name, String translation)
public String[] translateConstraints(String translation)
translateConstraints
in interface ModelElementFacade
ModelElementFacade.translateConstraints(String translation)
public String[] translateConstraints(String kind, String translation)
translateConstraints
in interface ModelElementFacade
ModelElementFacade.translateConstraints(String kind, String translation)
public void initialize()
initialize
in interface ModelElementFacade
initialize
in class MetafacadeBase
MetafacadeBase.initialize()
public Object getValidationOwner()
getValidationOwner
in interface ModelElementFacade
getValidationOwner
in class MetafacadeBase
MetafacadeBase.getValidationOwner()
public String getValidationName()
getValidationName
in interface ModelElementFacade
getValidationName
in class MetafacadeBase
MetafacadeBase.getValidationName()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::cartridges::hibernate::metafacades::HibernateAssociationEnd::one-to-one associations must have aggregation on one side
Error: One-to-one associations must either have one side flagged as primary (using andromda_persistence_associationEnd_primary) or have one side of the association indicating aggregation (aggregation defines the parent owning entity)
OCL: context HibernateAssociationEnd inv: otherEnd.type.oclIsKindOf(HibernateEntity) and one2One implies (one2OnePrimary or otherEnd.one2OnePrimary)
Constraint: org::andromda::cartridges::hibernate::metafacades::HibernateAssociationEnd::ordered collections must have an index defined
Error: Ordered collections (i.e. lists) must have an index defined. You can define this with either the associationEndCollectionIndexName (to apply to all ordered collections in your model(s)), or andromda_hibernate_collection_index to apply to a single ordered collection.
OCL: context HibernateAssociationEnd inv: otherEnd.type.oclIsKindOf(HibernateEntity) and otherEnd.list implies otherEnd.collectionIndexName -> notEmpty()
Constraint: org::andromda::cartridges::hibernate::metafacades::HibernateAssociationEnd::map collecions must have the index type defined.
Error: Collections defined as maps must have an index and index type defined., you can define each with the associationEndCollectionIndexName and associationEndCollectionIndexType (to apply to all mapped collections in your model(s)), or andromda_hibernate_collection_index and andromda_hibernate_collection_index_type to apply to a single ordered collection.
OCL: context HibernateAssociationEnd inv: otherEnd.type.oclIsKindOf(HibernateEntity) and otherEnd.map implies (otherEnd.collectionIndexType -> notEmpty() and otherEnd.collectionIndexName -> notEmpty())
validateInvariants
in interface ModelElementFacade
validateInvariants
in class MetafacadeBase
validationMessages
- CollectionMetafacadeBase.validateInvariants(Collection validationMessages)
public String toString()
toString
in class MetafacadeBase
Object.toString()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.