public abstract class HibernateEntityLogic extends MetafacadeBase implements HibernateEntity
HibernateEntity
,
Serialized FormType | Property and Description |
---|---|
protected abstract String |
handleGetHibernateVersion |
Modifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
HibernateEntityLogic(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.
|
AttributeFacade |
findAttribute(String name)
Return the attribute which name matches the parameter
|
Object |
findTaggedValue(String tagName)
Finds the tagged value with the specified 'tagName'.
|
Object |
findTaggedValue(String tagName,
boolean follow)
Finds the tagged value optional searching the entire inheritance hierarchy if 'follow' is set
to true.
|
Collection<Object> |
findTaggedValues(String tagName)
Returns all the values for the tagged value with the specified name.
|
Collection<ClassifierFacade> |
getAbstractions()
Those abstraction dependencies for which this classifier is the client.
|
Collection<ClassifierFacade> |
getAllAssociatedClasses()
Lists all classes associated to this one and any ancestor classes (through generalization).
|
Collection |
getAllBusinessOperations()
Return all the user defined operations for this entity.
|
Collection<DependencyFacade> |
getAllEntityReferences()
Returns a collection of all entities this entity and its ancestors have a relation to.
|
Collection<GeneralizableElementFacade> |
getAllGeneralizations()
All generalizations for this generalizable element, goes up the inheritance tree.
|
Collection<ModelElementFacade> |
getAllProperties()
A collection containing all 'properties' of the classifier and its ancestors.
|
Collection<ModelElementFacade> |
getAllRequiredConstructorParameters()
A collection containing all required and/or read-only 'properties' of the classifier and its
ancestors.
|
Collection<GeneralizableElementFacade> |
getAllSpecializations()
All specializations (travels down the inheritance hierarchy).
|
ClassifierFacade |
getArray()
Gets the array type for this classifier.
|
String |
getArrayName()
The name of the classifier as an array.
|
Collection<ClassifierFacade> |
getAssociatedClasses()
Lists the classes associated to this one, there is no repitition of classes.
|
List<AssociationEndFacade> |
getAssociationEnds()
Gets the association ends belonging to a classifier.
|
String |
getAttributeNameList(boolean follow,
boolean withIdentifiers)
Gets a comma separated list of attribute names.
|
String |
getAttributeNameList(boolean follow,
boolean withIdentifiers,
boolean withDerived)
Gets a comma separated list of attribute names.
|
List<AttributeFacade> |
getAttributes()
Gets the attributes that belong to the classifier.
|
List<AttributeFacade> |
getAttributes(boolean follow)
Gets all attributes for the classifier and if 'follow' is true goes up the inheritance
hierarchy and gets the attributes from the super classes as well.
|
Collection<AttributeFacade> |
getAttributes(boolean follow,
boolean withIdentifiers)
Gets all attributes of the entity, and optionally retieves the super entities attributes as
well as excludes the entity's identifiers if 'withIdentifiers' is set to false.
|
Collection<AttributeFacade> |
getAttributes(boolean follow,
boolean withIdentifiers,
boolean withDerived)
Gets all attributes of the entity, and optionally retieves the super entities attributes as
well as excludes the entity's identifiers if 'withIdentifiers' is set to false and exclude
derived attributes if 'withDerived' is set to false.
|
String |
getAttributeTypeList(boolean follow,
boolean withIdentifiers)
Gets a comma separated list of attribute types.
|
String |
getBindedFullyQualifiedName(ModelElementFacade bindedElement)
Returns the fully qualified name of the model element.
|
Collection<OperationFacade> |
getBusinessOperations()
All business operations of the entity, these include any operations that aren't queries.
|
Collection<EntityAssociationEnd> |
getChildEnds()
Gets any children association ends (i.e.
|
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 |
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.
|
int |
getEhCacheMaxElementsInMemory()
EhCache property.
|
int |
getEhCacheTimeToIdleSeconds()
EhCache property.
|
int |
getEhCacheTimeToLiveSeconds()
EhCache property.
|
Collection<AttributeFacade> |
getEmbeddedValues()
The embedded values belonging to this entity.
|
String |
getEntityImplementationName()
The name of the implementation class.
|
String |
getEntityName()
The name used for the hibernate entity.
|
Collection<DependencyFacade> |
getEntityReferences()
All entities referenced by this entity.
|
String |
getFullyQualifiedArrayName()
The fully qualified name of the classifier as an array.
|
String |
getFullyQualifiedEntityImplementationName()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateEntity.fullyQualifiedEntityImplementationName
|
String |
getFullyQualifiedEntityName()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateEntity.fullyQualifiedEntityName
|
String |
getFullyQualifiedIdentifierTypeName()
The full name of the type of the identifier.
|
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
'/'.
|
GeneralizableElementFacade |
getGeneralization()
Gets the direct generalization for this generalizable element.
|
Collection<GeneralizationFacade> |
getGeneralizationLinks()
Gets the actual links that this generalization element is part of (it plays either the
specialization or generalization).
|
String |
getGeneralizationList()
A comma separated list of the fully qualified names of all generalizations.
|
GeneralizableElementFacade |
getGeneralizationRoot()
The element found when you recursively follow the generalization path up to the root.
|
Collection<GeneralizableElementFacade> |
getGeneralizations()
Return all generalizations (ancestors) from this generalizable element.
|
String |
getHibernateCacheType()
Cache policy for the entity.
|
String |
getHibernateDefaultCascade()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateEntity.hibernateDefaultCascade
|
String |
getHibernateDiscriminatorColumn()
The name of the discriminator column.
|
int |
getHibernateDiscriminatorLength()
The standard length of a discriminator value.
|
String |
getHibernateDiscriminatorType()
The type of the hibernate discriminator column.
|
String |
getHibernateDiscriminatorValue()
The name of the discriminator value.
|
String |
getHibernateGeneratorClass()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateEntity.hibernateGeneratorClass
|
String |
getHibernateInheritanceStrategy()
Return the value of andromda.hibernate.inheritance tagged value.
|
String |
getHibernateVersionProperty()
Stores the value of the Hibernate version property.
|
String |
getHibernateVersionPropertySqlName()
The SQL name of the hibernate version property.
|
String |
getId()
Gets the unique identifier of the underlying model element.
|
Collection<AssociationEndFacade> |
getIdentifierAssociationEnds()
Gets all the associationEnds of this entity marked with the identifiers stereotype.
|
String |
getIdentifierGetterName()
The getter name of the identifier.
|
String |
getIdentifierName()
The name of the identifier.
|
Collection<ModelElementFacade> |
getIdentifiers()
All the attributes of the entity which make up its identifier (primary key).
|
Collection<ModelElementFacade> |
getIdentifiers(boolean follow)
Gets all identifiers for an entity.
|
String |
getIdentifierSetterName()
The setter name of the identifier.
|
String |
getIdentifierTypeName()
The name of the type of the identifier.
|
Collection<OperationFacade> |
getImplementationOperations()
Returns all those operations that could be implemented at this classifier's level.
|
String |
getImplementedInterfaceList()
A comma separated list of the fully qualified names of all implemented interfaces.
|
Collection<AttributeFacade> |
getInstanceAttributes()
Those attributes that are scoped to an instance of this class.
|
List<OperationFacade> |
getInstanceOperations()
Those operations that are scoped to an instance of this class.
|
Collection<ClassifierFacade> |
getInterfaceAbstractions()
Those interfaces that are abstractions of this classifier, this basically means this
classifier realizes them.
|
String |
getJavaNewString()
A String representing a new Constructor declaration for this classifier type to be used in a
Java environment.
|
String |
getJavaNullString()
A String representing the null-value for this classifier type to be used in a Java
environment.
|
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.
|
String |
getMappingClassName()
Returns the mapping class name to use (this is will be 'class', 'subclass', etc) depending on
whether the entity is a specialization and what type of inheritance strategy is employed.
|
short |
getMaxSqlNameLength()
The maximum length a SQL name may be.
|
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.
|
Collection<AssociationEndFacade> |
getNavigableConnectingEnds()
The other ends of this classifier's association ends which are navigable.
|
List<AssociationEndFacade> |
getNavigableConnectingEnds(boolean follow)
Get the other ends of this classifier's association ends which are navigable and if 'follow'
is true goes up the inheritance hierarchy and gets the super association ends as well.
|
ClassifierFacade |
getNonArray()
Assuming that the classifier is an array, this will return the non array type of the
classifier from
the model.
|
String |
getOperationCallFromAttributes()
The attributes from this classifier in the form of an operation call (this example would be
in Java): '(String attributeOne, String attributeTwo).
|
String |
getOperationCallFromAttributes(boolean withIdentifiers)
Gets the attributes as a list within an operation call, optionally including the type names
and the identifier attributes.
|
String |
getOperationCallFromAttributes(boolean withIdentifiers,
boolean follow)
Gets the attributes as a list within an operation call.
|
List<OperationFacade> |
getOperations()
The operations owned by this classifier.
|
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 '/'.
|
EntityAssociationEnd |
getParentEnd()
Returns the parent association end of this entity if its a child entity.
|
List<ModelElementFacade> |
getProperties()
A collection containing all 'properties' of the classifier.
|
List |
getProperties(boolean follow)
Gets all properties (attributes and navigable association ends) for the classifier and if
'follow' is true goes up the inheritance hierarchy and gets the properties from the super
classes as well.
|
Collection<ModelElementFacade> |
getProperties(boolean follow,
boolean withIdentifiers)
Gets all properties of this entity, this includes the attributes and navigable association
ends of the entity.
|
String |
getQualifiedName()
UML2: Returns the value of the 'Qualified Name' attribute.
|
Collection<EntityQueryOperation> |
getQueryOperations()
Returns all the operations that can perform queries on the entity.
|
Collection<OperationFacade> |
getQueryOperations(boolean follow)
Gets all query operations for an entity.
|
String |
getRequiredAttributeNameList(boolean follow,
boolean withIdentifiers)
Gets a comma separated list of required attribute names.
|
Collection<AttributeFacade> |
getRequiredAttributes(boolean follow,
boolean withIdentifiers)
Returns all attributes that are specified as 'required' in the model.
|
String |
getRequiredAttributeTypeList(boolean follow,
boolean withIdentifiers)
Gets a comma separated list of attribute types with are required.
|
Collection<ModelElementFacade> |
getRequiredConstructorParameters()
A collection containing all required and/or read-only 'properties' of the classifier.
|
Collection<ModelElementFacade> |
getRequiredProperties(boolean follow,
boolean withIdentifiers)
Gets all required properties for this entity.
|
String |
getRequiredPropertyNameList(boolean follow,
boolean withIdentifiers)
Creates a comma separated list of the required property names.
|
String |
getRequiredPropertyTypeList(boolean follow,
boolean withIdentifiers)
A comma separated list of the required property types.
|
PackageFacade |
getRootPackage()
Gets the root package for the model element.
|
String |
getSchema()
The name of the schema that contains the database table
|
String |
getSequenceName()
Gets the sequence name.
|
long |
getSerialVersionUID()
Returns the serial version UID of the underlying model element.
|
Collection<DependencyFacade> |
getSourceDependencies()
Gets the dependencies for which this model element is the source.
|
Collection<GeneralizableElementFacade> |
getSpecializations()
Gets the direct specializations (i.e.
|
StateMachineFacade |
getStateMachineContext()
If this model element is the context of an activity graph, this represents that activity
graph.
|
Collection<AttributeFacade> |
getStaticAttributes()
Those attributes that are scoped to the definition of this class.
|
List<OperationFacade> |
getStaticOperations()
Those operations that are scoped to the definition of this class.
|
Collection<String> |
getStereotypeNames()
The collection of ALL stereotype names for this model element.
|
Collection<StereotypeFacade> |
getStereotypes()
Gets all stereotypes for this model element.
|
String |
getSubclassKeyColumn()
Gets the name of the key column if the inheritance strategy is "subclass".
|
ClassifierFacade |
getSuperClass()
This class' superclass, returns the generalization if it is a ClassifierFacade, null
otherwise.
|
String |
getTableName()
The name of the database table to which this entity is persisted.
|
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
|
String |
getValidationName() |
Object |
getValidationOwner() |
int |
getVersion()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateEntity.version
|
String |
getVisibility()
The visibility (i.e.
|
String |
getWrapperName()
The wrapper name for this classifier if a mapped type has a defined wrapper class (ie.
|
String |
getXmlTagName()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateEntity.xmlTagName
|
protected abstract Collection |
handleGetAllBusinessOperations()
Method to be implemented in descendants
Return all the user defined operations for this entity.
|
protected abstract int |
handleGetEhCacheMaxElementsInMemory() |
protected abstract int |
handleGetEhCacheTimeToIdleSeconds() |
protected abstract int |
handleGetEhCacheTimeToLiveSeconds() |
protected abstract String |
handleGetEntityImplementationName() |
protected abstract String |
handleGetEntityName() |
protected abstract String |
handleGetFullyQualifiedEntityImplementationName() |
protected abstract String |
handleGetFullyQualifiedEntityName() |
protected abstract String |
handleGetHibernateCacheType() |
protected abstract String |
handleGetHibernateDefaultCascade() |
protected abstract String |
handleGetHibernateDiscriminatorColumn() |
protected abstract int |
handleGetHibernateDiscriminatorLength() |
protected abstract String |
handleGetHibernateDiscriminatorType() |
protected abstract String |
handleGetHibernateDiscriminatorValue() |
protected abstract String |
handleGetHibernateGeneratorClass() |
protected abstract String |
handleGetHibernateInheritanceStrategy() |
protected abstract String |
handleGetHibernateVersionProperty() |
protected abstract String |
handleGetHibernateVersionPropertySqlName() |
protected abstract String |
handleGetMappingClassName() |
protected abstract String |
handleGetSequenceName() |
protected abstract String |
handleGetSubclassKeyColumn() |
protected abstract int |
handleGetVersion() |
protected abstract String |
handleGetXmlTagName() |
protected abstract boolean |
handleIsBusinessOperationsPresent() |
protected abstract boolean |
handleIsDynamicInsert() |
protected abstract boolean |
handleIsDynamicUpdate() |
protected abstract boolean |
handleIsEhCacheEternal() |
protected abstract boolean |
handleIsEhCacheOverflowToDisk() |
protected abstract boolean |
handleIsForeignHibernateGeneratorClass() |
protected abstract boolean |
handleIsHibernateCacheDistributed() |
protected abstract boolean |
handleIsHibernateInheritanceClass() |
protected abstract boolean |
handleIsHibernateInheritanceConcrete() |
protected abstract boolean |
handleIsHibernateInheritanceInterface() |
protected abstract boolean |
handleIsHibernateInheritanceSubclass() |
protected abstract boolean |
handleIsHibernateInheritanceUnionSubClass() |
protected abstract boolean |
handleIsHibernateProxy() |
protected abstract boolean |
handleIsLazy() |
protected abstract boolean |
handleIsMappingRequiresSuperProperties() |
protected abstract boolean |
handleIsRequiresMapping() |
protected abstract boolean |
handleIsRequiresSpecializationMapping() |
protected abstract boolean |
handleIsSequenceHibernateGeneratorClass() |
protected abstract boolean |
handleIsTableRequired() |
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 |
isAbstract()
Indicates if this classifier is 'abstract'.
|
boolean |
isArrayType()
True if this classifier represents an array type.
|
boolean |
isAssociationClass()
True if the ClassifierFacade is an AssociationClass.
|
boolean |
isBindingDependenciesPresent()
True if there are target dependencies from this element that are instances of BindingFacade.
|
boolean |
isBlobType()
Returns true if this type represents a Blob type.
|
boolean |
isBooleanType()
Indicates if this type represents a boolean type or not.
|
boolean |
isBusinessOperationsPresent()
Indicates whether or not any entity operations are present.
|
boolean |
isCharacterType()
Indicates if this type represents a char, Character, or java.lang.Character type or not.
|
boolean |
isChild()
Returns true/false depending on whether or not this entity represetns a child in an
association (this occurs when this entity is on the opposite end of an assocation end defined
as composite).
|
boolean |
isClassifierFacadeMetaType() |
boolean |
isClobType()
Returns true if this type represents a Clob type.
|
boolean |
isCollectionType()
True if this classifier represents a collection type.
|
boolean |
isCompositeIdentifier()
True if this entity identifier is a composite (consists of multiple key columns, typically
abstracted into an external composite identifier class)
|
boolean |
isConstraintsPresent()
Indicates if any constraints are present on this model element.
|
boolean |
isDataType()
True/false depending on whether or not this classifier represents a datatype.
|
boolean |
isDateType()
True when this classifier is a date type.
|
boolean |
isDocumentationPresent()
Indicates if any documentation is present on this model element.
|
boolean |
isDoubleType()
Indicates if this type represents a Double type or not.
|
boolean |
isDynamicIdentifiersPresent()
True if the entity has its identifiers dynamically added, false otherwise.
|
boolean |
isDynamicInsert()
Specifies if hibernate dynamic-insert will be enabled / disabled for this entity
|
boolean |
isDynamicUpdate()
Specifies if hibernate dynamic-update will be enabled / disabled for this entity
|
boolean |
isEhCacheEternal()
EhCache property.
|
boolean |
isEhCacheOverflowToDisk()
EhCache property.
|
boolean |
isEmbeddedValue()
Indicates whether or not this classifier represents an "EmbeddedValue'.
|
boolean |
isEntityMetaType() |
boolean |
isEnumeration()
True if this classifier is in fact marked as an enumeration.
|
boolean |
isFileType()
Returns true if this type represents a 'file' type.
|
boolean |
isFloatType()
Indicates if this type represents a Float type or not.
|
boolean |
isForeignHibernateGeneratorClass()
Indicates whether or not hibernate generator class for this SpringEntity is foreign or not.
|
boolean |
isGeneralizableElementFacadeMetaType() |
boolean |
isHibernateCacheDistributed()
Specifies whether the cache for this entity is to be distributed.
|
boolean |
isHibernateEntityMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
boolean |
isHibernateInheritanceClass()
Return true if the hibernate inheritance strategy as specified by the tagged value
andromda_inheritance_strategy is defined as class.
|
boolean |
isHibernateInheritanceConcrete()
Return true if the hibernate inheritance strategy as specified by the tagged value
andromda_inheritance_strategy is defined as concrete.
|
boolean |
isHibernateInheritanceInterface()
Return true if the hibernate inheritance strategy as specified by the tagged value
andromda_inheritance_strategy is defined as interface.
|
boolean |
isHibernateInheritanceSubclass()
Return true if the hibernate inheritance strategy as specified by the tagged value
andromda_inheritance_strategy is defined as subclass.
|
boolean |
isHibernateInheritanceUnionSubClass()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateEntity.hibernateInheritanceUnionSubClass
|
boolean |
isHibernateProxy()
TODO: Model Documentation for
org.andromda.cartridges.hibernate.metafacades.HibernateEntity.hibernateProxy
|
boolean |
isIdentifiersPresent()
True if the entity has any identifiers defined, false otherwise.
|
boolean |
isIntegerType()
Indicates if this type represents an int or Integer or java.lang.Integer type or not.
|
boolean |
isInterface()
True/false depending on whether or not this Classifier represents an interface.
|
boolean |
isLazy()
Specifies whether the entity should be loaded lazily.
|
boolean |
isLeaf()
True if this classifier cannot be extended and represent a leaf in the inheritance tree.
|
boolean |
isListType()
True if this classifier represents a list type.
|
boolean |
isLongType()
Indicates if this type represents a Long type or not.
|
boolean |
isMappingRequiresSuperProperties()
Indicates whether or not the mapping for the the entity requires the properties of the super
entity to be included within the mapping.
|
boolean |
isMapType()
Indicates whether or not this classifier represents a Map type.
|
boolean |
isModelElementFacadeMetaType() |
boolean |
isPrimitive()
Indicates whether or not this classifier represents a primitive type.
|
boolean |
isRequiresMapping()
Indicates if this entity requires a mapping of its own.
|
boolean |
isRequiresSpecializationMapping()
Indicates if the entity requires specialization mappng.
|
boolean |
isReservedWord()
True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript.
|
boolean |
isSequenceHibernateGeneratorClass()
Indicates whether or not the hibernate generator class is specified as "sequence".
|
boolean |
isSetType()
True if this classifier represents a set type.
|
boolean |
isStringType()
Indicates whether or not this classifier represents a string type.
|
boolean |
isTableRequired()
Indicates if a table is required for this entity (sometimes it will not be depending on the
inheritance strategy used).
|
boolean |
isTemplateParametersPresent()
True is there are template parameters on this model element.
|
boolean |
isTimeType()
Indicates whether or not this classifier represents a time type.
|
boolean |
isUsingAssignedIdentifier()
Indiciates if this entity is using an assigned identifier or not.
|
boolean |
isUsingForeignIdentifier()
Indicates whether or not this entity is using a foreign identifier as its identifiers.
|
boolean |
isValidIdentifierName()
True if this element name is a valid identifier name in Java, C#, ANSI or ISO C, C++,
JavaScript.
|
boolean |
isWrappedPrimitive()
Returns true if this type is a wrapped primitive type.
|
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::HibernateEntity::class inheritance strategy can not be mixed
|
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
HibernateEntity.getHibernateVersionProperty()
protected Object metaObject
Object
protected HibernateEntityLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class MetafacadeBase
context
- MetafacadeBase.resetMetafacadeContext(String context)
public boolean isHibernateEntityMetaType()
HibernateEntity
isHibernateEntityMetaType
in interface HibernateEntity
HibernateEntity
protected abstract boolean handleIsHibernateInheritanceClass()
HibernateEntity.isHibernateInheritanceClass()
public final boolean isHibernateInheritanceClass()
isHibernateInheritanceClass
in interface HibernateEntity
protected abstract boolean handleIsHibernateInheritanceConcrete()
HibernateEntity.isHibernateInheritanceConcrete()
public final boolean isHibernateInheritanceConcrete()
isHibernateInheritanceConcrete
in interface HibernateEntity
protected abstract boolean handleIsHibernateInheritanceSubclass()
HibernateEntity.isHibernateInheritanceSubclass()
public final boolean isHibernateInheritanceSubclass()
isHibernateInheritanceSubclass
in interface HibernateEntity
protected abstract boolean handleIsHibernateInheritanceInterface()
HibernateEntity.isHibernateInheritanceInterface()
public final boolean isHibernateInheritanceInterface()
isHibernateInheritanceInterface
in interface HibernateEntity
protected abstract String handleGetHibernateInheritanceStrategy()
HibernateEntity.getHibernateInheritanceStrategy()
public final String getHibernateInheritanceStrategy()
getHibernateInheritanceStrategy
in interface HibernateEntity
protected abstract String handleGetHibernateCacheType()
HibernateEntity.getHibernateCacheType()
public final String getHibernateCacheType()
getHibernateCacheType
in interface HibernateEntity
protected abstract String handleGetFullyQualifiedEntityName()
HibernateEntity.getFullyQualifiedEntityName()
public final String getFullyQualifiedEntityName()
getFullyQualifiedEntityName
in interface HibernateEntity
protected abstract String handleGetFullyQualifiedEntityImplementationName()
HibernateEntity.getFullyQualifiedEntityImplementationName()
public final String getFullyQualifiedEntityImplementationName()
getFullyQualifiedEntityImplementationName
in interface HibernateEntity
protected abstract String handleGetHibernateDefaultCascade()
HibernateEntity.getHibernateDefaultCascade()
public final String getHibernateDefaultCascade()
getHibernateDefaultCascade
in interface HibernateEntity
protected abstract String handleGetHibernateGeneratorClass()
HibernateEntity.getHibernateGeneratorClass()
public final String getHibernateGeneratorClass()
getHibernateGeneratorClass
in interface HibernateEntity
protected abstract boolean handleIsForeignHibernateGeneratorClass()
HibernateEntity.isForeignHibernateGeneratorClass()
public final boolean isForeignHibernateGeneratorClass()
isForeignHibernateGeneratorClass
in interface HibernateEntity
protected abstract String handleGetHibernateDiscriminatorColumn()
HibernateEntity.getHibernateDiscriminatorColumn()
public final String getHibernateDiscriminatorColumn()
getHibernateDiscriminatorColumn
in interface HibernateEntity
protected abstract String handleGetHibernateDiscriminatorType()
HibernateEntity.getHibernateDiscriminatorType()
public final String getHibernateDiscriminatorType()
getHibernateDiscriminatorType
in interface HibernateEntity
protected abstract int handleGetHibernateDiscriminatorLength()
HibernateEntity.getHibernateDiscriminatorLength()
public final int getHibernateDiscriminatorLength()
getHibernateDiscriminatorLength
in interface HibernateEntity
protected abstract String handleGetEntityName()
HibernateEntity.getEntityName()
public final String getEntityName()
getEntityName
in interface HibernateEntity
protected abstract String handleGetEntityImplementationName()
HibernateEntity.getEntityImplementationName()
public final String getEntityImplementationName()
getEntityImplementationName
in interface HibernateEntity
protected abstract boolean handleIsBusinessOperationsPresent()
HibernateEntity.isBusinessOperationsPresent()
public final boolean isBusinessOperationsPresent()
isBusinessOperationsPresent
in interface HibernateEntity
protected abstract boolean handleIsHibernateProxy()
HibernateEntity.isHibernateProxy()
public final boolean isHibernateProxy()
isHibernateProxy
in interface HibernateEntity
protected abstract int handleGetEhCacheMaxElementsInMemory()
HibernateEntity.getEhCacheMaxElementsInMemory()
public final int getEhCacheMaxElementsInMemory()
getEhCacheMaxElementsInMemory
in interface HibernateEntity
protected abstract boolean handleIsEhCacheEternal()
HibernateEntity.isEhCacheEternal()
public final boolean isEhCacheEternal()
isEhCacheEternal
in interface HibernateEntity
protected abstract int handleGetEhCacheTimeToIdleSeconds()
HibernateEntity.getEhCacheTimeToIdleSeconds()
public final int getEhCacheTimeToIdleSeconds()
getEhCacheTimeToIdleSeconds
in interface HibernateEntity
protected abstract int handleGetEhCacheTimeToLiveSeconds()
HibernateEntity.getEhCacheTimeToLiveSeconds()
public final int getEhCacheTimeToLiveSeconds()
getEhCacheTimeToLiveSeconds
in interface HibernateEntity
protected abstract boolean handleIsEhCacheOverflowToDisk()
HibernateEntity.isEhCacheOverflowToDisk()
public final boolean isEhCacheOverflowToDisk()
isEhCacheOverflowToDisk
in interface HibernateEntity
protected abstract boolean handleIsSequenceHibernateGeneratorClass()
HibernateEntity.isSequenceHibernateGeneratorClass()
public final boolean isSequenceHibernateGeneratorClass()
isSequenceHibernateGeneratorClass
in interface HibernateEntity
protected abstract boolean handleIsTableRequired()
HibernateEntity.isTableRequired()
public final boolean isTableRequired()
isTableRequired
in interface HibernateEntity
protected abstract String handleGetMappingClassName()
HibernateEntity.getMappingClassName()
public final String getMappingClassName()
getMappingClassName
in interface HibernateEntity
protected abstract String handleGetSubclassKeyColumn()
HibernateEntity.getSubclassKeyColumn()
public final String getSubclassKeyColumn()
getSubclassKeyColumn
in interface HibernateEntity
protected abstract boolean handleIsRequiresMapping()
HibernateEntity.isRequiresMapping()
public final boolean isRequiresMapping()
isRequiresMapping
in interface HibernateEntity
protected abstract boolean handleIsRequiresSpecializationMapping()
HibernateEntity.isRequiresSpecializationMapping()
public final boolean isRequiresSpecializationMapping()
isRequiresSpecializationMapping
in interface HibernateEntity
protected abstract boolean handleIsDynamicInsert()
HibernateEntity.isDynamicInsert()
public final boolean isDynamicInsert()
isDynamicInsert
in interface HibernateEntity
protected abstract boolean handleIsDynamicUpdate()
HibernateEntity.isDynamicUpdate()
public final boolean isDynamicUpdate()
isDynamicUpdate
in interface HibernateEntity
protected abstract boolean handleIsMappingRequiresSuperProperties()
HibernateEntity.isMappingRequiresSuperProperties()
public final boolean isMappingRequiresSuperProperties()
isMappingRequiresSuperProperties
in interface HibernateEntity
protected abstract String handleGetHibernateVersionProperty()
HibernateEntity.getHibernateVersionProperty()
public final String getHibernateVersionProperty()
getHibernateVersionProperty
in interface HibernateEntity
protected abstract boolean handleIsHibernateInheritanceUnionSubClass()
HibernateEntity.isHibernateInheritanceUnionSubClass()
public final boolean isHibernateInheritanceUnionSubClass()
isHibernateInheritanceUnionSubClass
in interface HibernateEntity
protected abstract boolean handleIsLazy()
HibernateEntity.isLazy()
public final boolean isLazy()
isLazy
in interface HibernateEntity
protected abstract String handleGetXmlTagName()
HibernateEntity.getXmlTagName()
public final String getXmlTagName()
getXmlTagName
in interface HibernateEntity
protected abstract int handleGetVersion()
HibernateEntity.getVersion()
public final int getVersion()
getVersion
in interface HibernateEntity
protected abstract boolean handleIsHibernateCacheDistributed()
HibernateEntity.isHibernateCacheDistributed()
public final boolean isHibernateCacheDistributed()
isHibernateCacheDistributed
in interface HibernateEntity
protected abstract String handleGetHibernateDiscriminatorValue()
HibernateEntity.getHibernateDiscriminatorValue()
public final String getHibernateDiscriminatorValue()
getHibernateDiscriminatorValue
in interface HibernateEntity
protected abstract String handleGetHibernateVersionPropertySqlName()
HibernateEntity.getHibernateVersionPropertySqlName()
public final String getHibernateVersionPropertySqlName()
getHibernateVersionPropertySqlName
in interface HibernateEntity
protected abstract String handleGetSequenceName()
HibernateEntity.getSequenceName()
public final String getSequenceName()
getSequenceName
in interface HibernateEntity
protected abstract Collection handleGetAllBusinessOperations()
public Collection getAllBusinessOperations()
getAllBusinessOperations
in interface HibernateEntity
public boolean isEntityMetaType()
isEntityMetaType
in interface Entity
Entity
public boolean isClassifierFacadeMetaType()
isClassifierFacadeMetaType
in interface ClassifierFacade
ClassifierFacade
public boolean isGeneralizableElementFacadeMetaType()
isGeneralizableElementFacadeMetaType
in interface GeneralizableElementFacade
GeneralizableElementFacade
public boolean isModelElementFacadeMetaType()
isModelElementFacadeMetaType
in interface ModelElementFacade
ModelElementFacade
public AttributeFacade findAttribute(String name)
findAttribute
in interface ClassifierFacade
ClassifierFacade.findAttribute(String name)
public Collection<ClassifierFacade> getAbstractions()
getAbstractions
in interface ClassifierFacade
ClassifierFacade.getAbstractions()
public Collection<ClassifierFacade> getAllAssociatedClasses()
getAllAssociatedClasses
in interface ClassifierFacade
ClassifierFacade.getAllAssociatedClasses()
public Collection<ModelElementFacade> getAllProperties()
getAllProperties
in interface ClassifierFacade
ClassifierFacade.getAllProperties()
public Collection<ModelElementFacade> getAllRequiredConstructorParameters()
getAllRequiredConstructorParameters
in interface ClassifierFacade
ClassifierFacade.getAllRequiredConstructorParameters()
public ClassifierFacade getArray()
getArray
in interface ClassifierFacade
ClassifierFacade.getArray()
public String getArrayName()
getArrayName
in interface ClassifierFacade
ClassifierFacade.getArrayName()
public Collection<ClassifierFacade> getAssociatedClasses()
getAssociatedClasses
in interface ClassifierFacade
ClassifierFacade.getAssociatedClasses()
public List<AssociationEndFacade> getAssociationEnds()
getAssociationEnds
in interface ClassifierFacade
ClassifierFacade.getAssociationEnds()
public List<AttributeFacade> getAttributes()
getAttributes
in interface ClassifierFacade
ClassifierFacade.getAttributes()
public List<AttributeFacade> getAttributes(boolean follow)
getAttributes
in interface ClassifierFacade
ClassifierFacade.getAttributes(boolean follow)
public String getFullyQualifiedArrayName()
getFullyQualifiedArrayName
in interface ClassifierFacade
ClassifierFacade.getFullyQualifiedArrayName()
public Collection<OperationFacade> getImplementationOperations()
getImplementationOperations
in interface ClassifierFacade
ClassifierFacade.getImplementationOperations()
public String getImplementedInterfaceList()
getImplementedInterfaceList
in interface ClassifierFacade
ClassifierFacade.getImplementedInterfaceList()
public Collection<AttributeFacade> getInstanceAttributes()
getInstanceAttributes
in interface ClassifierFacade
ClassifierFacade.getInstanceAttributes()
public List<OperationFacade> getInstanceOperations()
getInstanceOperations
in interface ClassifierFacade
ClassifierFacade.getInstanceOperations()
public Collection<ClassifierFacade> getInterfaceAbstractions()
getInterfaceAbstractions
in interface ClassifierFacade
ClassifierFacade.getInterfaceAbstractions()
public String getJavaNewString()
getJavaNewString
in interface ClassifierFacade
ClassifierFacade.getJavaNewString()
public String getJavaNullString()
getJavaNullString
in interface ClassifierFacade
ClassifierFacade.getJavaNullString()
public Collection<AssociationEndFacade> getNavigableConnectingEnds()
getNavigableConnectingEnds
in interface ClassifierFacade
ClassifierFacade.getNavigableConnectingEnds()
public List<AssociationEndFacade> getNavigableConnectingEnds(boolean follow)
getNavigableConnectingEnds
in interface ClassifierFacade
ClassifierFacade.getNavigableConnectingEnds(boolean follow)
public ClassifierFacade getNonArray()
getNonArray
in interface ClassifierFacade
ClassifierFacade.getNonArray()
public String getOperationCallFromAttributes()
getOperationCallFromAttributes
in interface ClassifierFacade
ClassifierFacade.getOperationCallFromAttributes()
public List<OperationFacade> getOperations()
getOperations
in interface ClassifierFacade
ClassifierFacade.getOperations()
public List<ModelElementFacade> getProperties()
getProperties
in interface ClassifierFacade
ClassifierFacade.getProperties()
public List getProperties(boolean follow)
getProperties
in interface ClassifierFacade
ClassifierFacade.getProperties(boolean follow)
public Collection<ModelElementFacade> getRequiredConstructorParameters()
getRequiredConstructorParameters
in interface ClassifierFacade
ClassifierFacade.getRequiredConstructorParameters()
public long getSerialVersionUID()
getSerialVersionUID
in interface ClassifierFacade
ClassifierFacade.getSerialVersionUID()
public Collection<AttributeFacade> getStaticAttributes()
getStaticAttributes
in interface ClassifierFacade
ClassifierFacade.getStaticAttributes()
public List<OperationFacade> getStaticOperations()
getStaticOperations
in interface ClassifierFacade
ClassifierFacade.getStaticOperations()
public ClassifierFacade getSuperClass()
getSuperClass
in interface ClassifierFacade
ClassifierFacade.getSuperClass()
public String getWrapperName()
getWrapperName
in interface ClassifierFacade
ClassifierFacade.getWrapperName()
public boolean isAbstract()
isAbstract
in interface ClassifierFacade
ClassifierFacade.isAbstract()
public boolean isArrayType()
isArrayType
in interface ClassifierFacade
ClassifierFacade.isArrayType()
public boolean isAssociationClass()
isAssociationClass
in interface ClassifierFacade
ClassifierFacade.isAssociationClass()
public boolean isBlobType()
isBlobType
in interface ClassifierFacade
ClassifierFacade.isBlobType()
public boolean isBooleanType()
isBooleanType
in interface ClassifierFacade
ClassifierFacade.isBooleanType()
public boolean isCharacterType()
isCharacterType
in interface ClassifierFacade
ClassifierFacade.isCharacterType()
public boolean isClobType()
isClobType
in interface ClassifierFacade
ClassifierFacade.isClobType()
public boolean isCollectionType()
isCollectionType
in interface ClassifierFacade
ClassifierFacade.isCollectionType()
public boolean isDataType()
isDataType
in interface ClassifierFacade
ClassifierFacade.isDataType()
public boolean isDateType()
isDateType
in interface ClassifierFacade
ClassifierFacade.isDateType()
public boolean isDoubleType()
isDoubleType
in interface ClassifierFacade
ClassifierFacade.isDoubleType()
public boolean isEmbeddedValue()
isEmbeddedValue
in interface ClassifierFacade
ClassifierFacade.isEmbeddedValue()
public boolean isEnumeration()
isEnumeration
in interface ClassifierFacade
ClassifierFacade.isEnumeration()
public boolean isFileType()
isFileType
in interface ClassifierFacade
ClassifierFacade.isFileType()
public boolean isFloatType()
isFloatType
in interface ClassifierFacade
ClassifierFacade.isFloatType()
public boolean isIntegerType()
isIntegerType
in interface ClassifierFacade
ClassifierFacade.isIntegerType()
public boolean isInterface()
isInterface
in interface ClassifierFacade
ClassifierFacade.isInterface()
public boolean isLeaf()
isLeaf
in interface ClassifierFacade
ClassifierFacade.isLeaf()
public boolean isListType()
isListType
in interface ClassifierFacade
ClassifierFacade.isListType()
public boolean isLongType()
isLongType
in interface ClassifierFacade
ClassifierFacade.isLongType()
public boolean isMapType()
isMapType
in interface ClassifierFacade
ClassifierFacade.isMapType()
public boolean isPrimitive()
isPrimitive
in interface ClassifierFacade
ClassifierFacade.isPrimitive()
public boolean isSetType()
isSetType
in interface ClassifierFacade
ClassifierFacade.isSetType()
public boolean isStringType()
isStringType
in interface ClassifierFacade
ClassifierFacade.isStringType()
public boolean isTimeType()
isTimeType
in interface ClassifierFacade
ClassifierFacade.isTimeType()
public boolean isWrappedPrimitive()
isWrappedPrimitive
in interface ClassifierFacade
ClassifierFacade.isWrappedPrimitive()
public Collection<DependencyFacade> getAllEntityReferences()
getAllEntityReferences
in interface Entity
Entity.getAllEntityReferences()
public String getAttributeNameList(boolean follow, boolean withIdentifiers)
getAttributeNameList
in interface Entity
Entity.getAttributeNameList(boolean follow, boolean withIdentifiers)
public String getAttributeNameList(boolean follow, boolean withIdentifiers, boolean withDerived)
getAttributeNameList
in interface Entity
Entity.getAttributeNameList(boolean follow, boolean withIdentifiers, boolean withDerived)
public String getAttributeTypeList(boolean follow, boolean withIdentifiers)
getAttributeTypeList
in interface Entity
Entity.getAttributeTypeList(boolean follow, boolean withIdentifiers)
public Collection<AttributeFacade> getAttributes(boolean follow, boolean withIdentifiers)
getAttributes
in interface Entity
Entity.getAttributes(boolean follow, boolean withIdentifiers)
public Collection<AttributeFacade> getAttributes(boolean follow, boolean withIdentifiers, boolean withDerived)
getAttributes
in interface Entity
Entity.getAttributes(boolean follow, boolean withIdentifiers, boolean withDerived)
public Collection<OperationFacade> getBusinessOperations()
getBusinessOperations
in interface Entity
Entity.getBusinessOperations()
public Collection<EntityAssociationEnd> getChildEnds()
getChildEnds
in interface Entity
Entity.getChildEnds()
public Collection<AttributeFacade> getEmbeddedValues()
getEmbeddedValues
in interface Entity
Entity.getEmbeddedValues()
public Collection<DependencyFacade> getEntityReferences()
getEntityReferences
in interface Entity
Entity.getEntityReferences()
public String getFullyQualifiedIdentifierTypeName()
getFullyQualifiedIdentifierTypeName
in interface Entity
Entity.getFullyQualifiedIdentifierTypeName()
public Collection<AssociationEndFacade> getIdentifierAssociationEnds()
getIdentifierAssociationEnds
in interface Entity
Entity.getIdentifierAssociationEnds()
public String getIdentifierGetterName()
getIdentifierGetterName
in interface Entity
Entity.getIdentifierGetterName()
public String getIdentifierName()
getIdentifierName
in interface Entity
Entity.getIdentifierName()
public String getIdentifierSetterName()
getIdentifierSetterName
in interface Entity
Entity.getIdentifierSetterName()
public String getIdentifierTypeName()
getIdentifierTypeName
in interface Entity
Entity.getIdentifierTypeName()
public Collection<ModelElementFacade> getIdentifiers()
getIdentifiers
in interface Entity
Entity.getIdentifiers()
public Collection<ModelElementFacade> getIdentifiers(boolean follow)
getIdentifiers
in interface Entity
Entity.getIdentifiers(boolean follow)
public short getMaxSqlNameLength()
getMaxSqlNameLength
in interface Entity
Entity.getMaxSqlNameLength()
public String getOperationCallFromAttributes(boolean withIdentifiers)
getOperationCallFromAttributes
in interface Entity
Entity.getOperationCallFromAttributes(boolean withIdentifiers)
public String getOperationCallFromAttributes(boolean withIdentifiers, boolean follow)
getOperationCallFromAttributes
in interface Entity
Entity.getOperationCallFromAttributes(boolean withIdentifiers, boolean follow)
public EntityAssociationEnd getParentEnd()
getParentEnd
in interface Entity
Entity.getParentEnd()
public Collection<ModelElementFacade> getProperties(boolean follow, boolean withIdentifiers)
getProperties
in interface Entity
Entity.getProperties(boolean follow, boolean withIdentifiers)
public Collection<EntityQueryOperation> getQueryOperations()
getQueryOperations
in interface Entity
Entity.getQueryOperations()
public Collection<OperationFacade> getQueryOperations(boolean follow)
getQueryOperations
in interface Entity
Entity.getQueryOperations(boolean follow)
public String getRequiredAttributeNameList(boolean follow, boolean withIdentifiers)
getRequiredAttributeNameList
in interface Entity
Entity.getRequiredAttributeNameList(boolean follow, boolean withIdentifiers)
public String getRequiredAttributeTypeList(boolean follow, boolean withIdentifiers)
getRequiredAttributeTypeList
in interface Entity
Entity.getRequiredAttributeTypeList(boolean follow, boolean withIdentifiers)
public Collection<AttributeFacade> getRequiredAttributes(boolean follow, boolean withIdentifiers)
getRequiredAttributes
in interface Entity
Entity.getRequiredAttributes(boolean follow, boolean withIdentifiers)
public Collection<ModelElementFacade> getRequiredProperties(boolean follow, boolean withIdentifiers)
getRequiredProperties
in interface Entity
Entity.getRequiredProperties(boolean follow, boolean withIdentifiers)
public String getRequiredPropertyNameList(boolean follow, boolean withIdentifiers)
getRequiredPropertyNameList
in interface Entity
Entity.getRequiredPropertyNameList(boolean follow, boolean withIdentifiers)
public String getRequiredPropertyTypeList(boolean follow, boolean withIdentifiers)
getRequiredPropertyTypeList
in interface Entity
Entity.getRequiredPropertyTypeList(boolean follow, boolean withIdentifiers)
public String getSchema()
getSchema
in interface Entity
Entity.getSchema()
public String getTableName()
getTableName
in interface Entity
Entity.getTableName()
public boolean isChild()
isChild
in interface Entity
Entity.isChild()
public boolean isCompositeIdentifier()
isCompositeIdentifier
in interface Entity
Entity.isCompositeIdentifier()
public boolean isDynamicIdentifiersPresent()
isDynamicIdentifiersPresent
in interface Entity
Entity.isDynamicIdentifiersPresent()
public boolean isIdentifiersPresent()
isIdentifiersPresent
in interface Entity
Entity.isIdentifiersPresent()
public boolean isUsingAssignedIdentifier()
isUsingAssignedIdentifier
in interface Entity
Entity.isUsingAssignedIdentifier()
public boolean isUsingForeignIdentifier()
isUsingForeignIdentifier
in interface Entity
Entity.isUsingForeignIdentifier()
public Object findTaggedValue(String tagName, boolean follow)
findTaggedValue
in interface GeneralizableElementFacade
GeneralizableElementFacade.findTaggedValue(String tagName, boolean follow)
public Collection<GeneralizableElementFacade> getAllGeneralizations()
getAllGeneralizations
in interface GeneralizableElementFacade
GeneralizableElementFacade.getAllGeneralizations()
public Collection<GeneralizableElementFacade> getAllSpecializations()
getAllSpecializations
in interface GeneralizableElementFacade
GeneralizableElementFacade.getAllSpecializations()
public GeneralizableElementFacade getGeneralization()
getGeneralization
in interface GeneralizableElementFacade
GeneralizableElementFacade.getGeneralization()
public Collection<GeneralizationFacade> getGeneralizationLinks()
getGeneralizationLinks
in interface GeneralizableElementFacade
GeneralizableElementFacade.getGeneralizationLinks()
public String getGeneralizationList()
getGeneralizationList
in interface GeneralizableElementFacade
GeneralizableElementFacade.getGeneralizationList()
public GeneralizableElementFacade getGeneralizationRoot()
getGeneralizationRoot
in interface GeneralizableElementFacade
GeneralizableElementFacade.getGeneralizationRoot()
public Collection<GeneralizableElementFacade> getGeneralizations()
getGeneralizations
in interface GeneralizableElementFacade
GeneralizableElementFacade.getGeneralizations()
public Collection<GeneralizableElementFacade> getSpecializations()
getSpecializations
in interface GeneralizableElementFacade
GeneralizableElementFacade.getSpecializations()
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::HibernateEntity::class inheritance strategy can not be mixed
Error: If your Hibernate inheritance strategy is defined as 'class' on the root entity. All sub classes must have an inheritance strategy of 'class' as well (the class inheritance strategy can not be mixed with any other types of strategies).
OCL: context HibernateEntity inv : hibernateInheritanceClass implies specializations -> forAll(hibernateInheritanceClass)
Constraint: org::andromda::cartridges::hibernate::metafacades::HibernateEntity::subclass inheritance strategy can not be mixed
Error: If your Hibernate inheritance strategy is defined as 'subclass' on the root entity. All sub classes must have an inheritance strategy of 'subclass' as well (the subclass inheritance strategy can not be mixed with any other types of strategies).
OCL: context HibernateEntity inv : hibernateInheritanceSubclass implies specializations -> forAll(hibernateInheritanceSubclass)
Constraint: org::andromda::cartridges::hibernate::metafacades::HibernateEntity::entity attributes must be of type data type.
Error: All attributes of an entity (other than enumerations and embedded values) must be of UML DataType. Complex types must be UML Associations, not attributes.
OCL: context HibernateEntity inv: attributes -> forAll( not (type.enumeration or type.oclIsKindOf(HibernateEmbeddedValue)) implies type.dataType)
Constraint: org::andromda::cartridges::hibernate::metafacades::HibernateEntity::increment, identity, sequence, hilo or seqhilo generator class requires a long, short, or int identifier
Error: If the hibernate identifier generator class is set as 'increment', 'identity', 'sequence', 'hilo', 'seqhilo' or 'native', your mapped identifier type must resolve to a long (long or java.lang.Long or Long) , an int (int or java.lang.Integer or Integer), or a short (short or java.lang.Short or Short).
OCL: context HibernateEntity inv: let identifierTypeName : String = identifiers->first().type.fullyQualifiedName in hibernateGeneratorClass = 'increment' or hibernateGeneratorClass = 'identity' or hibernateGeneratorClass = 'sequence' or hibernateGeneratorClass = 'hilo' or hibernateGeneratorClass = 'seqhilo' or hibernateGeneratorClass = 'native' implies identifierTypeName = 'long' or identifierTypeName = 'java.lang.Long' or identifierTypeName = 'Long' or identifierTypeName = 'short' or identifierTypeName = 'java.lang.Short' or identifierTypeName = 'Short' or identifierTypeName = 'int' or identifierTypeName = 'java.lang.Integer' or identifierTypeName = 'Integer'
Constraint: org::andromda::cartridges::hibernate::metafacades::HibernateEntity::uuid.hex or uuid.string generator class requires a String
Error: If the hibernate identifier generator class is set as 'uuid.hex' or 'uuid.string' your mapped identifier type must resolve to 'String' or 'String'.
OCL: context HibernateEntity inv: let identifierTypeName : String = identifiers->first().type.fullyQualifiedName in hibernateGeneratorClass = 'uuid.hex' or hibernateGeneratorClass = 'uuid.string' implies identifierTypeName = 'String' or identifierTypeName = 'String'
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.