public abstract class HibernateEntityLogic extends MetafacadeBase implements HibernateEntity
HibernateEntity,
Serialized Form| Type | 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, validateHibernateEntity.getHibernateVersionProperty()protected Object metaObject
Objectprotected HibernateEntityLogic(Object metaObjectIn, String context)
metaObjectIn - context - public void resetMetafacadeContext(String context)
resetMetafacadeContext in class MetafacadeBasecontext - MetafacadeBase.resetMetafacadeContext(String context)public boolean isHibernateEntityMetaType()
HibernateEntityisHibernateEntityMetaType in interface HibernateEntityHibernateEntityprotected abstract boolean handleIsHibernateInheritanceClass()
HibernateEntity.isHibernateInheritanceClass()public final boolean isHibernateInheritanceClass()
isHibernateInheritanceClass in interface HibernateEntityprotected abstract boolean handleIsHibernateInheritanceConcrete()
HibernateEntity.isHibernateInheritanceConcrete()public final boolean isHibernateInheritanceConcrete()
isHibernateInheritanceConcrete in interface HibernateEntityprotected abstract boolean handleIsHibernateInheritanceSubclass()
HibernateEntity.isHibernateInheritanceSubclass()public final boolean isHibernateInheritanceSubclass()
isHibernateInheritanceSubclass in interface HibernateEntityprotected abstract boolean handleIsHibernateInheritanceInterface()
HibernateEntity.isHibernateInheritanceInterface()public final boolean isHibernateInheritanceInterface()
isHibernateInheritanceInterface in interface HibernateEntityprotected abstract String handleGetHibernateInheritanceStrategy()
HibernateEntity.getHibernateInheritanceStrategy()public final String getHibernateInheritanceStrategy()
getHibernateInheritanceStrategy in interface HibernateEntityprotected abstract String handleGetHibernateCacheType()
HibernateEntity.getHibernateCacheType()public final String getHibernateCacheType()
getHibernateCacheType in interface HibernateEntityprotected abstract String handleGetFullyQualifiedEntityName()
HibernateEntity.getFullyQualifiedEntityName()public final String getFullyQualifiedEntityName()
getFullyQualifiedEntityName in interface HibernateEntityprotected abstract String handleGetFullyQualifiedEntityImplementationName()
HibernateEntity.getFullyQualifiedEntityImplementationName()public final String getFullyQualifiedEntityImplementationName()
getFullyQualifiedEntityImplementationName in interface HibernateEntityprotected abstract String handleGetHibernateDefaultCascade()
HibernateEntity.getHibernateDefaultCascade()public final String getHibernateDefaultCascade()
getHibernateDefaultCascade in interface HibernateEntityprotected abstract String handleGetHibernateGeneratorClass()
HibernateEntity.getHibernateGeneratorClass()public final String getHibernateGeneratorClass()
getHibernateGeneratorClass in interface HibernateEntityprotected abstract boolean handleIsForeignHibernateGeneratorClass()
HibernateEntity.isForeignHibernateGeneratorClass()public final boolean isForeignHibernateGeneratorClass()
isForeignHibernateGeneratorClass in interface HibernateEntityprotected abstract String handleGetHibernateDiscriminatorColumn()
HibernateEntity.getHibernateDiscriminatorColumn()public final String getHibernateDiscriminatorColumn()
getHibernateDiscriminatorColumn in interface HibernateEntityprotected abstract String handleGetHibernateDiscriminatorType()
HibernateEntity.getHibernateDiscriminatorType()public final String getHibernateDiscriminatorType()
getHibernateDiscriminatorType in interface HibernateEntityprotected abstract int handleGetHibernateDiscriminatorLength()
HibernateEntity.getHibernateDiscriminatorLength()public final int getHibernateDiscriminatorLength()
getHibernateDiscriminatorLength in interface HibernateEntityprotected abstract String handleGetEntityName()
HibernateEntity.getEntityName()public final String getEntityName()
getEntityName in interface HibernateEntityprotected abstract String handleGetEntityImplementationName()
HibernateEntity.getEntityImplementationName()public final String getEntityImplementationName()
getEntityImplementationName in interface HibernateEntityprotected abstract boolean handleIsBusinessOperationsPresent()
HibernateEntity.isBusinessOperationsPresent()public final boolean isBusinessOperationsPresent()
isBusinessOperationsPresent in interface HibernateEntityprotected abstract boolean handleIsHibernateProxy()
HibernateEntity.isHibernateProxy()public final boolean isHibernateProxy()
isHibernateProxy in interface HibernateEntityprotected abstract int handleGetEhCacheMaxElementsInMemory()
HibernateEntity.getEhCacheMaxElementsInMemory()public final int getEhCacheMaxElementsInMemory()
getEhCacheMaxElementsInMemory in interface HibernateEntityprotected abstract boolean handleIsEhCacheEternal()
HibernateEntity.isEhCacheEternal()public final boolean isEhCacheEternal()
isEhCacheEternal in interface HibernateEntityprotected abstract int handleGetEhCacheTimeToIdleSeconds()
HibernateEntity.getEhCacheTimeToIdleSeconds()public final int getEhCacheTimeToIdleSeconds()
getEhCacheTimeToIdleSeconds in interface HibernateEntityprotected abstract int handleGetEhCacheTimeToLiveSeconds()
HibernateEntity.getEhCacheTimeToLiveSeconds()public final int getEhCacheTimeToLiveSeconds()
getEhCacheTimeToLiveSeconds in interface HibernateEntityprotected abstract boolean handleIsEhCacheOverflowToDisk()
HibernateEntity.isEhCacheOverflowToDisk()public final boolean isEhCacheOverflowToDisk()
isEhCacheOverflowToDisk in interface HibernateEntityprotected abstract boolean handleIsSequenceHibernateGeneratorClass()
HibernateEntity.isSequenceHibernateGeneratorClass()public final boolean isSequenceHibernateGeneratorClass()
isSequenceHibernateGeneratorClass in interface HibernateEntityprotected abstract boolean handleIsTableRequired()
HibernateEntity.isTableRequired()public final boolean isTableRequired()
isTableRequired in interface HibernateEntityprotected abstract String handleGetMappingClassName()
HibernateEntity.getMappingClassName()public final String getMappingClassName()
getMappingClassName in interface HibernateEntityprotected abstract String handleGetSubclassKeyColumn()
HibernateEntity.getSubclassKeyColumn()public final String getSubclassKeyColumn()
getSubclassKeyColumn in interface HibernateEntityprotected abstract boolean handleIsRequiresMapping()
HibernateEntity.isRequiresMapping()public final boolean isRequiresMapping()
isRequiresMapping in interface HibernateEntityprotected abstract boolean handleIsRequiresSpecializationMapping()
HibernateEntity.isRequiresSpecializationMapping()public final boolean isRequiresSpecializationMapping()
isRequiresSpecializationMapping in interface HibernateEntityprotected abstract boolean handleIsDynamicInsert()
HibernateEntity.isDynamicInsert()public final boolean isDynamicInsert()
isDynamicInsert in interface HibernateEntityprotected abstract boolean handleIsDynamicUpdate()
HibernateEntity.isDynamicUpdate()public final boolean isDynamicUpdate()
isDynamicUpdate in interface HibernateEntityprotected abstract boolean handleIsMappingRequiresSuperProperties()
HibernateEntity.isMappingRequiresSuperProperties()public final boolean isMappingRequiresSuperProperties()
isMappingRequiresSuperProperties in interface HibernateEntityprotected abstract String handleGetHibernateVersionProperty()
HibernateEntity.getHibernateVersionProperty()public final String getHibernateVersionProperty()
getHibernateVersionProperty in interface HibernateEntityprotected abstract boolean handleIsHibernateInheritanceUnionSubClass()
HibernateEntity.isHibernateInheritanceUnionSubClass()public final boolean isHibernateInheritanceUnionSubClass()
isHibernateInheritanceUnionSubClass in interface HibernateEntityprotected abstract boolean handleIsLazy()
HibernateEntity.isLazy()public final boolean isLazy()
isLazy in interface HibernateEntityprotected abstract String handleGetXmlTagName()
HibernateEntity.getXmlTagName()public final String getXmlTagName()
getXmlTagName in interface HibernateEntityprotected abstract int handleGetVersion()
HibernateEntity.getVersion()public final int getVersion()
getVersion in interface HibernateEntityprotected abstract boolean handleIsHibernateCacheDistributed()
HibernateEntity.isHibernateCacheDistributed()public final boolean isHibernateCacheDistributed()
isHibernateCacheDistributed in interface HibernateEntityprotected abstract String handleGetHibernateDiscriminatorValue()
HibernateEntity.getHibernateDiscriminatorValue()public final String getHibernateDiscriminatorValue()
getHibernateDiscriminatorValue in interface HibernateEntityprotected abstract String handleGetHibernateVersionPropertySqlName()
HibernateEntity.getHibernateVersionPropertySqlName()public final String getHibernateVersionPropertySqlName()
getHibernateVersionPropertySqlName in interface HibernateEntityprotected abstract String handleGetSequenceName()
HibernateEntity.getSequenceName()public final String getSequenceName()
getSequenceName in interface HibernateEntityprotected abstract Collection handleGetAllBusinessOperations()
public Collection getAllBusinessOperations()
getAllBusinessOperations in interface HibernateEntitypublic boolean isEntityMetaType()
isEntityMetaType in interface EntityEntitypublic boolean isClassifierFacadeMetaType()
isClassifierFacadeMetaType in interface ClassifierFacadeClassifierFacadepublic boolean isGeneralizableElementFacadeMetaType()
isGeneralizableElementFacadeMetaType in interface GeneralizableElementFacadeGeneralizableElementFacadepublic boolean isModelElementFacadeMetaType()
isModelElementFacadeMetaType in interface ModelElementFacadeModelElementFacadepublic AttributeFacade findAttribute(String name)
findAttribute in interface ClassifierFacadeClassifierFacade.findAttribute(String name)public Collection<ClassifierFacade> getAbstractions()
getAbstractions in interface ClassifierFacadeClassifierFacade.getAbstractions()public Collection<ClassifierFacade> getAllAssociatedClasses()
getAllAssociatedClasses in interface ClassifierFacadeClassifierFacade.getAllAssociatedClasses()public Collection<ModelElementFacade> getAllProperties()
getAllProperties in interface ClassifierFacadeClassifierFacade.getAllProperties()public Collection<ModelElementFacade> getAllRequiredConstructorParameters()
getAllRequiredConstructorParameters in interface ClassifierFacadeClassifierFacade.getAllRequiredConstructorParameters()public ClassifierFacade getArray()
getArray in interface ClassifierFacadeClassifierFacade.getArray()public String getArrayName()
getArrayName in interface ClassifierFacadeClassifierFacade.getArrayName()public Collection<ClassifierFacade> getAssociatedClasses()
getAssociatedClasses in interface ClassifierFacadeClassifierFacade.getAssociatedClasses()public List<AssociationEndFacade> getAssociationEnds()
getAssociationEnds in interface ClassifierFacadeClassifierFacade.getAssociationEnds()public List<AttributeFacade> getAttributes()
getAttributes in interface ClassifierFacadeClassifierFacade.getAttributes()public List<AttributeFacade> getAttributes(boolean follow)
getAttributes in interface ClassifierFacadeClassifierFacade.getAttributes(boolean follow)public String getFullyQualifiedArrayName()
getFullyQualifiedArrayName in interface ClassifierFacadeClassifierFacade.getFullyQualifiedArrayName()public Collection<OperationFacade> getImplementationOperations()
getImplementationOperations in interface ClassifierFacadeClassifierFacade.getImplementationOperations()public String getImplementedInterfaceList()
getImplementedInterfaceList in interface ClassifierFacadeClassifierFacade.getImplementedInterfaceList()public Collection<AttributeFacade> getInstanceAttributes()
getInstanceAttributes in interface ClassifierFacadeClassifierFacade.getInstanceAttributes()public List<OperationFacade> getInstanceOperations()
getInstanceOperations in interface ClassifierFacadeClassifierFacade.getInstanceOperations()public Collection<ClassifierFacade> getInterfaceAbstractions()
getInterfaceAbstractions in interface ClassifierFacadeClassifierFacade.getInterfaceAbstractions()public String getJavaNewString()
getJavaNewString in interface ClassifierFacadeClassifierFacade.getJavaNewString()public String getJavaNullString()
getJavaNullString in interface ClassifierFacadeClassifierFacade.getJavaNullString()public Collection<AssociationEndFacade> getNavigableConnectingEnds()
getNavigableConnectingEnds in interface ClassifierFacadeClassifierFacade.getNavigableConnectingEnds()public List<AssociationEndFacade> getNavigableConnectingEnds(boolean follow)
getNavigableConnectingEnds in interface ClassifierFacadeClassifierFacade.getNavigableConnectingEnds(boolean follow)public ClassifierFacade getNonArray()
getNonArray in interface ClassifierFacadeClassifierFacade.getNonArray()public String getOperationCallFromAttributes()
getOperationCallFromAttributes in interface ClassifierFacadeClassifierFacade.getOperationCallFromAttributes()public List<OperationFacade> getOperations()
getOperations in interface ClassifierFacadeClassifierFacade.getOperations()public List<ModelElementFacade> getProperties()
getProperties in interface ClassifierFacadeClassifierFacade.getProperties()public List getProperties(boolean follow)
getProperties in interface ClassifierFacadeClassifierFacade.getProperties(boolean follow)public Collection<ModelElementFacade> getRequiredConstructorParameters()
getRequiredConstructorParameters in interface ClassifierFacadeClassifierFacade.getRequiredConstructorParameters()public long getSerialVersionUID()
getSerialVersionUID in interface ClassifierFacadeClassifierFacade.getSerialVersionUID()public Collection<AttributeFacade> getStaticAttributes()
getStaticAttributes in interface ClassifierFacadeClassifierFacade.getStaticAttributes()public List<OperationFacade> getStaticOperations()
getStaticOperations in interface ClassifierFacadeClassifierFacade.getStaticOperations()public ClassifierFacade getSuperClass()
getSuperClass in interface ClassifierFacadeClassifierFacade.getSuperClass()public String getWrapperName()
getWrapperName in interface ClassifierFacadeClassifierFacade.getWrapperName()public boolean isAbstract()
isAbstract in interface ClassifierFacadeClassifierFacade.isAbstract()public boolean isArrayType()
isArrayType in interface ClassifierFacadeClassifierFacade.isArrayType()public boolean isAssociationClass()
isAssociationClass in interface ClassifierFacadeClassifierFacade.isAssociationClass()public boolean isBlobType()
isBlobType in interface ClassifierFacadeClassifierFacade.isBlobType()public boolean isBooleanType()
isBooleanType in interface ClassifierFacadeClassifierFacade.isBooleanType()public boolean isCharacterType()
isCharacterType in interface ClassifierFacadeClassifierFacade.isCharacterType()public boolean isClobType()
isClobType in interface ClassifierFacadeClassifierFacade.isClobType()public boolean isCollectionType()
isCollectionType in interface ClassifierFacadeClassifierFacade.isCollectionType()public boolean isDataType()
isDataType in interface ClassifierFacadeClassifierFacade.isDataType()public boolean isDateType()
isDateType in interface ClassifierFacadeClassifierFacade.isDateType()public boolean isDoubleType()
isDoubleType in interface ClassifierFacadeClassifierFacade.isDoubleType()public boolean isEmbeddedValue()
isEmbeddedValue in interface ClassifierFacadeClassifierFacade.isEmbeddedValue()public boolean isEnumeration()
isEnumeration in interface ClassifierFacadeClassifierFacade.isEnumeration()public boolean isFileType()
isFileType in interface ClassifierFacadeClassifierFacade.isFileType()public boolean isFloatType()
isFloatType in interface ClassifierFacadeClassifierFacade.isFloatType()public boolean isIntegerType()
isIntegerType in interface ClassifierFacadeClassifierFacade.isIntegerType()public boolean isInterface()
isInterface in interface ClassifierFacadeClassifierFacade.isInterface()public boolean isLeaf()
isLeaf in interface ClassifierFacadeClassifierFacade.isLeaf()public boolean isListType()
isListType in interface ClassifierFacadeClassifierFacade.isListType()public boolean isLongType()
isLongType in interface ClassifierFacadeClassifierFacade.isLongType()public boolean isMapType()
isMapType in interface ClassifierFacadeClassifierFacade.isMapType()public boolean isPrimitive()
isPrimitive in interface ClassifierFacadeClassifierFacade.isPrimitive()public boolean isSetType()
isSetType in interface ClassifierFacadeClassifierFacade.isSetType()public boolean isStringType()
isStringType in interface ClassifierFacadeClassifierFacade.isStringType()public boolean isTimeType()
isTimeType in interface ClassifierFacadeClassifierFacade.isTimeType()public boolean isWrappedPrimitive()
isWrappedPrimitive in interface ClassifierFacadeClassifierFacade.isWrappedPrimitive()public Collection<DependencyFacade> getAllEntityReferences()
getAllEntityReferences in interface EntityEntity.getAllEntityReferences()public String getAttributeNameList(boolean follow, boolean withIdentifiers)
getAttributeNameList in interface EntityEntity.getAttributeNameList(boolean follow, boolean withIdentifiers)public String getAttributeNameList(boolean follow, boolean withIdentifiers, boolean withDerived)
getAttributeNameList in interface EntityEntity.getAttributeNameList(boolean follow, boolean withIdentifiers, boolean withDerived)public String getAttributeTypeList(boolean follow, boolean withIdentifiers)
getAttributeTypeList in interface EntityEntity.getAttributeTypeList(boolean follow, boolean withIdentifiers)public Collection<AttributeFacade> getAttributes(boolean follow, boolean withIdentifiers)
getAttributes in interface EntityEntity.getAttributes(boolean follow, boolean withIdentifiers)public Collection<AttributeFacade> getAttributes(boolean follow, boolean withIdentifiers, boolean withDerived)
getAttributes in interface EntityEntity.getAttributes(boolean follow, boolean withIdentifiers, boolean withDerived)public Collection<OperationFacade> getBusinessOperations()
getBusinessOperations in interface EntityEntity.getBusinessOperations()public Collection<EntityAssociationEnd> getChildEnds()
getChildEnds in interface EntityEntity.getChildEnds()public Collection<AttributeFacade> getEmbeddedValues()
getEmbeddedValues in interface EntityEntity.getEmbeddedValues()public Collection<DependencyFacade> getEntityReferences()
getEntityReferences in interface EntityEntity.getEntityReferences()public String getFullyQualifiedIdentifierTypeName()
getFullyQualifiedIdentifierTypeName in interface EntityEntity.getFullyQualifiedIdentifierTypeName()public Collection<AssociationEndFacade> getIdentifierAssociationEnds()
getIdentifierAssociationEnds in interface EntityEntity.getIdentifierAssociationEnds()public String getIdentifierGetterName()
getIdentifierGetterName in interface EntityEntity.getIdentifierGetterName()public String getIdentifierName()
getIdentifierName in interface EntityEntity.getIdentifierName()public String getIdentifierSetterName()
getIdentifierSetterName in interface EntityEntity.getIdentifierSetterName()public String getIdentifierTypeName()
getIdentifierTypeName in interface EntityEntity.getIdentifierTypeName()public Collection<ModelElementFacade> getIdentifiers()
getIdentifiers in interface EntityEntity.getIdentifiers()public Collection<ModelElementFacade> getIdentifiers(boolean follow)
getIdentifiers in interface EntityEntity.getIdentifiers(boolean follow)public short getMaxSqlNameLength()
getMaxSqlNameLength in interface EntityEntity.getMaxSqlNameLength()public String getOperationCallFromAttributes(boolean withIdentifiers)
getOperationCallFromAttributes in interface EntityEntity.getOperationCallFromAttributes(boolean withIdentifiers)public String getOperationCallFromAttributes(boolean withIdentifiers, boolean follow)
getOperationCallFromAttributes in interface EntityEntity.getOperationCallFromAttributes(boolean withIdentifiers, boolean follow)public EntityAssociationEnd getParentEnd()
getParentEnd in interface EntityEntity.getParentEnd()public Collection<ModelElementFacade> getProperties(boolean follow, boolean withIdentifiers)
getProperties in interface EntityEntity.getProperties(boolean follow, boolean withIdentifiers)public Collection<EntityQueryOperation> getQueryOperations()
getQueryOperations in interface EntityEntity.getQueryOperations()public Collection<OperationFacade> getQueryOperations(boolean follow)
getQueryOperations in interface EntityEntity.getQueryOperations(boolean follow)public String getRequiredAttributeNameList(boolean follow, boolean withIdentifiers)
getRequiredAttributeNameList in interface EntityEntity.getRequiredAttributeNameList(boolean follow, boolean withIdentifiers)public String getRequiredAttributeTypeList(boolean follow, boolean withIdentifiers)
getRequiredAttributeTypeList in interface EntityEntity.getRequiredAttributeTypeList(boolean follow, boolean withIdentifiers)public Collection<AttributeFacade> getRequiredAttributes(boolean follow, boolean withIdentifiers)
getRequiredAttributes in interface EntityEntity.getRequiredAttributes(boolean follow, boolean withIdentifiers)public Collection<ModelElementFacade> getRequiredProperties(boolean follow, boolean withIdentifiers)
getRequiredProperties in interface EntityEntity.getRequiredProperties(boolean follow, boolean withIdentifiers)public String getRequiredPropertyNameList(boolean follow, boolean withIdentifiers)
getRequiredPropertyNameList in interface EntityEntity.getRequiredPropertyNameList(boolean follow, boolean withIdentifiers)public String getRequiredPropertyTypeList(boolean follow, boolean withIdentifiers)
getRequiredPropertyTypeList in interface EntityEntity.getRequiredPropertyTypeList(boolean follow, boolean withIdentifiers)public String getSchema()
getSchema in interface EntityEntity.getSchema()public String getTableName()
getTableName in interface EntityEntity.getTableName()public boolean isChild()
isChild in interface EntityEntity.isChild()public boolean isCompositeIdentifier()
isCompositeIdentifier in interface EntityEntity.isCompositeIdentifier()public boolean isDynamicIdentifiersPresent()
isDynamicIdentifiersPresent in interface EntityEntity.isDynamicIdentifiersPresent()public boolean isIdentifiersPresent()
isIdentifiersPresent in interface EntityEntity.isIdentifiersPresent()public boolean isUsingAssignedIdentifier()
isUsingAssignedIdentifier in interface EntityEntity.isUsingAssignedIdentifier()public boolean isUsingForeignIdentifier()
isUsingForeignIdentifier in interface EntityEntity.isUsingForeignIdentifier()public Object findTaggedValue(String tagName, boolean follow)
findTaggedValue in interface GeneralizableElementFacadeGeneralizableElementFacade.findTaggedValue(String tagName, boolean follow)public Collection<GeneralizableElementFacade> getAllGeneralizations()
getAllGeneralizations in interface GeneralizableElementFacadeGeneralizableElementFacade.getAllGeneralizations()public Collection<GeneralizableElementFacade> getAllSpecializations()
getAllSpecializations in interface GeneralizableElementFacadeGeneralizableElementFacade.getAllSpecializations()public GeneralizableElementFacade getGeneralization()
getGeneralization in interface GeneralizableElementFacadeGeneralizableElementFacade.getGeneralization()public Collection<GeneralizationFacade> getGeneralizationLinks()
getGeneralizationLinks in interface GeneralizableElementFacadeGeneralizableElementFacade.getGeneralizationLinks()public String getGeneralizationList()
getGeneralizationList in interface GeneralizableElementFacadeGeneralizableElementFacade.getGeneralizationList()public GeneralizableElementFacade getGeneralizationRoot()
getGeneralizationRoot in interface GeneralizableElementFacadeGeneralizableElementFacade.getGeneralizationRoot()public Collection<GeneralizableElementFacade> getGeneralizations()
getGeneralizations in interface GeneralizableElementFacadeGeneralizableElementFacade.getGeneralizations()public Collection<GeneralizableElementFacade> getSpecializations()
getSpecializations in interface GeneralizableElementFacadeGeneralizableElementFacade.getSpecializations()public void copyTaggedValues(ModelElementFacade element)
copyTaggedValues in interface ModelElementFacadeModelElementFacade.copyTaggedValues(ModelElementFacade element)public Object findTaggedValue(String tagName)
findTaggedValue in interface ModelElementFacadeModelElementFacade.findTaggedValue(String tagName)public Collection<Object> findTaggedValues(String tagName)
findTaggedValues in interface ModelElementFacadeModelElementFacade.findTaggedValues(String tagName)public String getBindedFullyQualifiedName(ModelElementFacade bindedElement)
getBindedFullyQualifiedName in interface ModelElementFacadeModelElementFacade.getBindedFullyQualifiedName(ModelElementFacade bindedElement)public Collection<ConstraintFacade> getConstraints()
getConstraints in interface ModelElementFacadeModelElementFacade.getConstraints()public Collection<ConstraintFacade> getConstraints(String kind)
getConstraints in interface ModelElementFacadeModelElementFacade.getConstraints(String kind)public String getDocumentation(String indent)
getDocumentation(indent, 64).getDocumentation in interface ModelElementFacadeModelElementFacade.getDocumentation(String indent)public String getDocumentation(String indent, int lineLength)
getDocumentation(indent, lineLength, true).getDocumentation in interface ModelElementFacadeModelElementFacade.getDocumentation(String indent, int lineLength)public String getDocumentation(String indent, int lineLength, boolean htmlStyle)
getDocumentation in interface ModelElementFacadeModelElementFacade.getDocumentation(String indent, int lineLength, boolean htmlStyle)public String getFullyQualifiedName()
getFullyQualifiedName in interface ModelElementFacadeModelElementFacade.getFullyQualifiedName()public String getFullyQualifiedName(boolean modelName)
getFullyQualifiedName in interface ModelElementFacadeModelElementFacade.getFullyQualifiedName(boolean modelName)public String getFullyQualifiedNamePath()
getFullyQualifiedNamePath in interface ModelElementFacadeModelElementFacade.getFullyQualifiedNamePath()public String getId()
getId in interface ModelElementFacadeModelElementFacade.getId()public Collection<String> getKeywords()
getKeywords in interface ModelElementFacadeModelElementFacade.getKeywords()public String getLabel()
getLabel in interface ModelElementFacadeModelElementFacade.getLabel()public TypeMappings getLanguageMappings()
getLanguageMappings in interface ModelElementFacadeModelElementFacade.getLanguageMappings()public ModelFacade getModel()
getModel in interface ModelElementFacadeModelElementFacade.getModel()public String getName()
getName in interface ModelElementFacadeModelElementFacade.getName()public ModelElementFacade getPackage()
getPackage in interface ModelElementFacadeModelElementFacade.getPackage()public String getPackageName()
getPackageName in interface ModelElementFacadeModelElementFacade.getPackageName()public String getPackageName(boolean modelName)
getPackageName in interface ModelElementFacadeModelElementFacade.getPackageName(boolean modelName)public String getPackagePath()
getPackagePath in interface ModelElementFacadeModelElementFacade.getPackagePath()public String getQualifiedName()
getQualifiedName in interface ModelElementFacadeModelElementFacade.getQualifiedName()public PackageFacade getRootPackage()
getRootPackage in interface ModelElementFacadeModelElementFacade.getRootPackage()public Collection<DependencyFacade> getSourceDependencies()
getSourceDependencies in interface ModelElementFacadeModelElementFacade.getSourceDependencies()public StateMachineFacade getStateMachineContext()
getStateMachineContext in interface ModelElementFacadeModelElementFacade.getStateMachineContext()public Collection<String> getStereotypeNames()
getStereotypeNames in interface ModelElementFacadeModelElementFacade.getStereotypeNames()public Collection<StereotypeFacade> getStereotypes()
getStereotypes in interface ModelElementFacadeModelElementFacade.getStereotypes()public Collection<TaggedValueFacade> getTaggedValues()
getTaggedValues in interface ModelElementFacadeModelElementFacade.getTaggedValues()public Collection<DependencyFacade> getTargetDependencies()
getTargetDependencies in interface ModelElementFacadeModelElementFacade.getTargetDependencies()public Object getTemplateParameter(String parameterName)
getTemplateParameter in interface ModelElementFacadeModelElementFacade.getTemplateParameter(String parameterName)public Collection<TemplateParameterFacade> getTemplateParameters()
getTemplateParameters in interface ModelElementFacadeModelElementFacade.getTemplateParameters()public String getVisibility()
getVisibility in interface ModelElementFacadeModelElementFacade.getVisibility()public boolean hasExactStereotype(String stereotypeName)
hasExactStereotype in interface ModelElementFacadeModelElementFacade.hasExactStereotype(String stereotypeName)public boolean hasKeyword(String keywordName)
hasKeyword in interface ModelElementFacadeModelElementFacade.hasKeyword(String keywordName)public boolean hasStereotype(String stereotypeName)
hasStereotype in interface ModelElementFacadeModelElementFacade.hasStereotype(String stereotypeName)public boolean isBindingDependenciesPresent()
isBindingDependenciesPresent in interface ModelElementFacadeModelElementFacade.isBindingDependenciesPresent()public boolean isConstraintsPresent()
isConstraintsPresent in interface ModelElementFacadeModelElementFacade.isConstraintsPresent()public boolean isDocumentationPresent()
isDocumentationPresent in interface ModelElementFacadeModelElementFacade.isDocumentationPresent()public boolean isReservedWord()
isReservedWord in interface ModelElementFacadeModelElementFacade.isReservedWord()public boolean isTemplateParametersPresent()
isTemplateParametersPresent in interface ModelElementFacadeModelElementFacade.isTemplateParametersPresent()public boolean isValidIdentifierName()
isValidIdentifierName in interface ModelElementFacadeModelElementFacade.isValidIdentifierName()public String translateConstraint(String name, String translation)
translateConstraint in interface ModelElementFacadeModelElementFacade.translateConstraint(String name, String translation)public String[] translateConstraints(String translation)
translateConstraints in interface ModelElementFacadeModelElementFacade.translateConstraints(String translation)public String[] translateConstraints(String kind, String translation)
translateConstraints in interface ModelElementFacadeModelElementFacade.translateConstraints(String kind, String translation)public void initialize()
initialize in interface ModelElementFacadeinitialize in class MetafacadeBaseMetafacadeBase.initialize()public Object getValidationOwner()
getValidationOwner in interface ModelElementFacadegetValidationOwner in class MetafacadeBaseMetafacadeBase.getValidationOwner()public String getValidationName()
getValidationName in interface ModelElementFacadegetValidationName in class MetafacadeBaseMetafacadeBase.getValidationName()public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
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 ModelElementFacadevalidateInvariants in class MetafacadeBasevalidationMessages - CollectionMetafacadeBase.validateInvariants(Collection validationMessages)public String toString()
toString in class MetafacadeBaseObject.toString()Copyright © 2003–2014 AndroMDA.org. All rights reserved.