public abstract class EJB3EntityFacadeLogic extends MetafacadeBase implements EJB3EntityFacade
EJB3EntityFacade
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
EJB3EntityFacadeLogic(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<DependencyFacade> |
getAllEntityReferences()
Returns a collection of all entities this entity and its ancestors have a relation to.
|
Collection |
getAllEntityRelations()
Find all associations that define relations to other entities.
|
Collection<GeneralizableElementFacade> |
getAllGeneralizations()
All generalizations for this generalizable element, goes up the inheritance tree.
|
List |
getAllInstanceAttributes()
All instanceAttributes for this entity.
|
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).
|
Collection<DependencyFacade> |
getAllValueObjectReferences()
Represents an entity EJB.
|
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 |
getAttributesAsList(Collection attributes,
boolean includeTypes,
boolean includeNames,
boolean includeAutoIdentifiers)
Create a comma separated list of attributes.
|
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.
|
String |
getCacheType()
Provides the cache policy for the entity.
|
Collection<EntityAssociationEnd> |
getChildEnds()
Gets any children association ends (i.e.
|
Collection |
getConstants(boolean follow)
Gets all constants for this entity.
|
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.
|
Collection |
getCreateMethods(boolean follow)
Gets create methods for the entity.
|
String |
getDaoBaseName()
The DAO base class name.
|
Collection<EJB3OperationFacade> |
getDaoBusinessOperations()
Represents an entity EJB.
|
String |
getDaoDefaultExceptionName()
Returns the default DAO exception name.
|
String |
getDaoImplementationName()
The DAO implementation class name.
|
String |
getDaoName()
The name of the DAO for the specified entity.
|
String |
getDaoNoTransformationConstantName()
The constant name denoting no transformation is to be applied.
|
String |
getDefaultCascadeType()
Returns the default entity cascadable property attribute looked up in the namespace
descriptor.
|
String |
getDefaultPersistenceContextUnitName()
Returns the default persistence context unit name for the injected EntityManger for the
DAO/Manageable service beans.
|
String |
getDiscriminatorColumn()
The name of the discriminator column.
|
String |
getDiscriminatorColumnDefinition()
The SQL used when generating the DDL for the discriminator column.
|
int |
getDiscriminatorLength()
The standard length of a discriminator value.
|
String |
getDiscriminatorType()
The type of the entity discriminator column.
|
String |
getDiscriminatorValue()
The value indicating the row in an entity of the annotated entity type.
|
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.
|
Collection<AttributeFacade> |
getEmbeddedValues()
The embedded values belonging to this entity.
|
String |
getEntityCompositePrimaryKeyName()
Entity composite primary key class name for this entity.
|
String |
getEntityEmbeddableName()
Entity embeddable super class name this entity inherits from.
|
String |
getEntityImplementationName()
The name of the implementation class.
|
String |
getEntityListenerName()
Entity listener class name for callback methods.
|
String |
getEntityName()
The named used for the EJB3 entity.
|
Collection<DependencyFacade> |
getEntityReferences()
All entities referenced by this entity.
|
Collection |
getEntityRelations()
Entity classes that are association relationships from this entity.
|
Collection |
getEnvironmentEntries(boolean follow)
Gets all env-entries for the specified entity EJB.
|
String |
getFullyQualifiedArrayName()
The fully qualified name of the classifier as an array.
|
String |
getFullyQualifiedDaoBaseName()
The fully qualified name of the base DAO.
|
String |
getFullyQualifiedDaoDefaultExceptionName()
Returns the fully qualified default DAO exception name.
|
String |
getFullyQualifiedDaoImplementationName()
The fully qualified name of the DAO implemetation.
|
String |
getFullyQualifiedDaoName()
The fully qualified name of the DAO.
|
String |
getFullyQualifiedEntityCompositePrimaryKeyName()
The fully qualified name of the composite primary key class of this entity.
|
String |
getFullyQualifiedEntityEmbeddableName()
The fully qualified name of the embeddable super class of this entity.
|
String |
getFullyQualifiedEntityImplementationName()
Fully qualified name of the Entity implementation class.
|
String |
getFullyQualifiedEntityListenerName()
Fully qualified name of the Entity listner class holding entity callback methods.
|
String |
getFullyQualifiedEntityName()
The fully qualified name of the EJB3 entity.
|
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 |
getHomeInterfaceName()
A String representing the name of a home interface for this entity EJB.
|
String |
getId()
Gets the unique identifier of the underlying model element.
|
ModelElementFacade |
getIdentifier()
Represents an entity EJB.
|
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.
|
String |
getInheritanceStrategy()
Return the value of the andromda_persistence_inheritance tagged value which is an enumeration
containing SINGLE_TABLE, TABLE_PER_CLASS or JOINED.
|
List |
getInheritedInstanceAttributes()
All inherited instanceAttributes this class.
|
String |
getInstanceAttributeNameList(boolean follow,
boolean withIdentifiers)
Gets a comma separated list of instance attribute names.
|
Collection<AttributeFacade> |
getInstanceAttributes()
Those attributes that are scoped to an instance of this class.
|
Collection |
getInstanceAttributes(boolean follow,
boolean withIdentifiers)
Gets all instance attributes of the entity, and optionally retieves the super entities
instance attributes as well as excludes the entity's identifiers if 'withIdentifiers' is set
to false.
|
String |
getInstanceAttributeTypeList(boolean follow,
boolean withIdentifiers)
Gets a comma separated list of instance attribute types.
|
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.
|
String |
getJndiName()
jndiNamePrefix/ejb/this.getFullyQualifiedName()
|
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.
|
AttributeFacade |
getManageableDisplayAttribute()
Represents an entity EJB.
|
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.
|
Collection<Role> |
getNonRunAsRoles()
Represents an entity EJB.
|
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.
|
String |
getRolesAllowed()
Returns the comma separated list of roles allowd to execute DAO operations.
|
EJB3EntityFacade |
getRoot()
Represents an entity EJB.
|
PackageFacade |
getRootPackage()
Gets the root package for the model element.
|
String |
getSchema()
The name of the schema that contains the database table
|
String |
getSeamComponentName()
Returns the Seam component name for the class.
|
String |
getSeamComponentScopeType()
Returns the seam component scope type if one is specified.
|
String |
getSecurityRealm()
Returns the security domain value.
|
Collection |
getSelectMethods(boolean follow)
Gets select methods for the entity, if all is set to 'true' then ALL select methods will be
retrieved (including those inherited from any superclasses).
|
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.
|
String |
getSqlType()
Gets the SQL Mappings from the SQLMappings URI
|
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.
|
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() |
Collection |
getValueDependencies()
ValueObject dependency references from this Entity
|
Collection<DependencyFacade> |
getValueObjectReferences()
Represents an entity EJB.
|
Collection |
getValueObjectReferences(boolean follow)
Retrieves the values object references for this entity.
|
String |
getViewType()
A string indicating whether the Bean is a local or remotely accessable bean.
|
String |
getVisibility()
The visibility (i.e.
|
String |
getWrapperName()
The wrapper name for this classifier if a mapped type has a defined wrapper class (ie.
|
protected abstract Collection |
handleGetAllEntityRelations() |
protected abstract List |
handleGetAllInstanceAttributes() |
protected abstract Collection |
handleGetAllValueObjectReferences()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract String |
handleGetAttributesAsList(Collection attributes,
boolean includeTypes,
boolean includeNames,
boolean includeAutoIdentifiers)
Method to be implemented in descendants
Create a comma separated list of attributes.
|
protected abstract String |
handleGetCacheType() |
protected abstract Collection |
handleGetConstants(boolean follow)
Method to be implemented in descendants
Gets all constants for this entity.
|
protected abstract Collection |
handleGetCreateMethods(boolean follow)
Method to be implemented in descendants
Gets create methods for the entity.
|
protected abstract String |
handleGetDaoBaseName() |
protected abstract Collection |
handleGetDaoBusinessOperations()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract String |
handleGetDaoDefaultExceptionName() |
protected abstract String |
handleGetDaoImplementationName() |
protected abstract String |
handleGetDaoName() |
protected abstract String |
handleGetDaoNoTransformationConstantName() |
protected abstract String |
handleGetDefaultCascadeType() |
protected abstract String |
handleGetDefaultPersistenceContextUnitName() |
protected abstract String |
handleGetDiscriminatorColumn() |
protected abstract String |
handleGetDiscriminatorColumnDefinition() |
protected abstract int |
handleGetDiscriminatorLength() |
protected abstract String |
handleGetDiscriminatorType() |
protected abstract String |
handleGetDiscriminatorValue() |
protected abstract String |
handleGetEntityCompositePrimaryKeyName() |
protected abstract String |
handleGetEntityEmbeddableName() |
protected abstract String |
handleGetEntityImplementationName() |
protected abstract String |
handleGetEntityListenerName() |
protected abstract String |
handleGetEntityName() |
protected abstract Collection |
handleGetEntityRelations() |
protected abstract Collection |
handleGetEnvironmentEntries(boolean follow)
Method to be implemented in descendants
Gets all env-entries for the specified entity EJB.
|
protected abstract String |
handleGetFullyQualifiedDaoBaseName() |
protected abstract String |
handleGetFullyQualifiedDaoDefaultExceptionName() |
protected abstract String |
handleGetFullyQualifiedDaoImplementationName() |
protected abstract String |
handleGetFullyQualifiedDaoName() |
protected abstract String |
handleGetFullyQualifiedEntityCompositePrimaryKeyName() |
protected abstract String |
handleGetFullyQualifiedEntityEmbeddableName() |
protected abstract String |
handleGetFullyQualifiedEntityImplementationName() |
protected abstract String |
handleGetFullyQualifiedEntityListenerName() |
protected abstract String |
handleGetFullyQualifiedEntityName() |
protected abstract String |
handleGetHomeInterfaceName() |
protected abstract Object |
handleGetIdentifier()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract String |
handleGetInheritanceStrategy() |
protected abstract List |
handleGetInheritedInstanceAttributes() |
protected abstract String |
handleGetInstanceAttributeNameList(boolean follow,
boolean withIdentifiers)
Method to be implemented in descendants
Gets a comma separated list of instance attribute names.
|
protected abstract Collection |
handleGetInstanceAttributes(boolean follow,
boolean withIdentifiers)
Method to be implemented in descendants
Gets all instance attributes of the entity, and optionally retieves the super entities
instance attributes as well as excludes the entity's identifiers if 'withIdentifiers' is set
to false.
|
protected abstract String |
handleGetInstanceAttributeTypeList(boolean follow,
boolean withIdentifiers)
Method to be implemented in descendants
Gets a comma separated list of instance attribute types.
|
protected abstract String |
handleGetJndiName() |
protected abstract Object |
handleGetManageableDisplayAttribute()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Collection |
handleGetNonRunAsRoles()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract String |
handleGetRolesAllowed() |
protected abstract Object |
handleGetRoot()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract String |
handleGetSeamComponentName() |
protected abstract String |
handleGetSeamComponentScopeType() |
protected abstract String |
handleGetSecurityRealm() |
protected abstract Collection |
handleGetSelectMethods(boolean follow)
Method to be implemented in descendants
Gets select methods for the entity, if all is set to 'true' then ALL select methods will be
retrieved (including those inherited from any superclasses).
|
protected abstract String |
handleGetSqlType()
Method to be implemented in descendants
Gets the SQL Mappings from the SQLMappings URI
|
protected abstract Collection |
handleGetValueDependencies() |
protected abstract Collection |
handleGetValueObjectReferences()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Collection |
handleGetValueObjectReferences(boolean follow)
Method to be implemented in descendants
Retrieves the values object references for this entity.
|
protected abstract String |
handleGetViewType() |
protected abstract boolean |
handleIsAttributePresent(String att)
Method to be implemented in descendants
If the attribute att is present
|
protected abstract boolean |
handleIsCacheEnabled() |
protected abstract boolean |
handleIsCompositePrimaryKeyPresent() |
protected abstract boolean |
handleIsDaoBusinessOperationsPresent() |
protected abstract boolean |
handleIsDaoImplementationRequired() |
protected abstract boolean |
handleIsEmbeddableSuperclass() |
protected abstract boolean |
handleIsEmbeddableSuperclassGeneralizationExists() |
protected abstract boolean |
handleIsEntityImplementationRequired() |
protected abstract boolean |
handleIsFinderFindAllExists() |
protected abstract boolean |
handleIsFinderFindByPrimaryKeyExists() |
protected abstract boolean |
handleIsGenericFinders() |
protected abstract boolean |
handleIsIdentifierPresent(String id)
Method to be implemented in descendants
If the identifier id is present
|
protected abstract boolean |
handleIsInheritanceJoined() |
protected abstract boolean |
handleIsInheritanceSingleTable() |
protected abstract boolean |
handleIsInheritanceTablePerClass() |
protected abstract boolean |
handleIsListenerEnabled() |
protected abstract boolean |
handleIsManageable() |
protected abstract boolean |
handleIsOperationPresent(String op)
Method to be implemented in descendants
If the operation op is present
|
protected abstract boolean |
handleIsRequiresGeneralizationMapping() |
protected abstract boolean |
handleIsRequiresSpecializationMapping() |
protected abstract boolean |
handleIsSeamComponent() |
protected abstract boolean |
handleIsSecurityEnabled() |
protected abstract boolean |
handleIsSyntheticCreateMethodAllowed() |
protected abstract boolean |
handleIsUseDefaultCacheRegion() |
protected abstract boolean |
handleIsUseQueryCache() |
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 |
isAttributePresent(String att)
If the attribute att is present
|
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 |
isCacheEnabled()
Returns true if caching has been enabled via namespace property hibernateEnableCache.
|
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 |
isCompositePrimaryKeyPresent()
Returns true if a composite primary key exists for this entity bean.
|
boolean |
isConstraintsPresent()
Indicates if any constraints are present on this model element.
|
boolean |
isDaoBusinessOperationsPresent()
Indicates whether or not any business DAO operations are present.
|
boolean |
isDaoImplementationRequired()
True if an implementation is required for the dao class, this is the case when there are
business operations or value-object transformation.
|
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 |
isEJB3EntityFacadeMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
boolean |
isEmbeddableSuperclass()
Determines if this entity is an mapped/embeddable super class.
|
boolean |
isEmbeddableSuperclassGeneralizationExists()
Returns true if this entity is a subclass of an mapped/embeddable super class.
|
boolean |
isEmbeddedValue()
Indicates whether or not this classifier represents an "EmbeddedValue'.
|
boolean |
isEntityImplementationRequired()
True if an entity implementation is required for the entity class, this is the case when
there are business operations.
|
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 |
isFinderFindAllExists()
Returns true if the findAll finder method (specified as a query method) has been modelled.
|
boolean |
isFinderFindByPrimaryKeyExists()
Returns true if the finder findByPrimaryKey has been modelled.
|
boolean |
isFloatType()
Indicates if this type represents a Float type or not.
|
boolean |
isGeneralizableElementFacadeMetaType() |
boolean |
isGenericFinders()
Returns true if the generic finder property is true.
|
boolean |
isIdentifierPresent(String id)
If the identifier id is present
|
boolean |
isIdentifiersPresent()
True if the entity has any identifiers defined, false otherwise.
|
boolean |
isInheritanceJoined()
Return true if the entity inheritance strategy as specified by the tagged value
andromda_persistence_inheritance is defined as JOINED.
|
boolean |
isInheritanceSingleTable()
Return true if the entity inheritance strategy as specified by the tagged value
andromda_persistence_inheritance is defined as SINGLE_TABLE.
|
boolean |
isInheritanceTablePerClass()
Return true if the entity inheritance strategy as specified by the tagged value
andromda_persistence_inheritance is defined as TABLE_PER_CLASS.
|
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 |
isLeaf()
True if this classifier cannot be extended and represent a leaf in the inheritance tree.
|
boolean |
isListenerEnabled()
Returns true if this entity bean has the stereotype Listener.
|
boolean |
isListType()
True if this classifier represents a list type.
|
boolean |
isLongType()
Indicates if this type represents a Long type or not.
|
boolean |
isManageable()
Returns true if this entity is assigned the Manageable stereotype.
|
boolean |
isMapType()
Indicates whether or not this classifier represents a Map type.
|
boolean |
isModelElementFacadeMetaType() |
boolean |
isOperationPresent(String op)
If the operation op is present
|
boolean |
isPrimitive()
Indicates whether or not this classifier represents a primitive type.
|
boolean |
isRequiresGeneralizationMapping()
Returns true if the entity requires generalization mapping.
|
boolean |
isRequiresSpecializationMapping()
Returns true if the entity requires specialization mapping.
|
boolean |
isReservedWord()
True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript.
|
boolean |
isSeamComponent()
Returns true if this entity has the <
|
boolean |
isSecurityEnabled()
Returns true if the security realm is specified.
|
boolean |
isSetType()
True if this classifier represents a set type.
|
boolean |
isStringType()
Indicates whether or not this classifier represents a string type.
|
boolean |
isSyntheticCreateMethodAllowed()
Whether or not to allow a synthetic (auto generated) create method.
|
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 |
isUseDefaultCacheRegion()
Return true if a unique cache region is NOT required for entities and queries.
|
boolean |
isUseQueryCache()
Returns true if the application wide namespace property hibernateUseQueryCache is enabled.
|
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::ejb3::metafacades::EJB3EntityFacade::entities can only generalize other entities or mapped superclasses
|
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
protected Object metaObject
Object
protected EJB3EntityFacadeLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class MetafacadeBase
context
- MetafacadeBase.resetMetafacadeContext(String context)
public boolean isEJB3EntityFacadeMetaType()
EJB3EntityFacade
isEJB3EntityFacadeMetaType
in interface EJB3EntityFacade
EJB3EntityFacade
protected abstract boolean handleIsSyntheticCreateMethodAllowed()
EJB3EntityFacade.isSyntheticCreateMethodAllowed()
public final boolean isSyntheticCreateMethodAllowed()
isSyntheticCreateMethodAllowed
in interface EJB3EntityFacade
protected abstract Collection handleGetAllEntityRelations()
EJB3EntityFacade.getAllEntityRelations()
public final Collection getAllEntityRelations()
getAllEntityRelations
in interface EJB3EntityFacade
protected abstract String handleGetJndiName()
EJB3EntityFacade.getJndiName()
public final String getJndiName()
getJndiName
in interface EJB3EntityFacade
protected abstract String handleGetViewType()
EJB3EntityFacade.getViewType()
public final String getViewType()
getViewType
in interface EJB3EntityFacade
protected abstract List handleGetAllInstanceAttributes()
EJB3EntityFacade.getAllInstanceAttributes()
public final List getAllInstanceAttributes()
getAllInstanceAttributes
in interface EJB3EntityFacade
protected abstract List handleGetInheritedInstanceAttributes()
EJB3EntityFacade.getInheritedInstanceAttributes()
public final List getInheritedInstanceAttributes()
getInheritedInstanceAttributes
in interface EJB3EntityFacade
protected abstract String handleGetHomeInterfaceName()
EJB3EntityFacade.getHomeInterfaceName()
public final String getHomeInterfaceName()
getHomeInterfaceName
in interface EJB3EntityFacade
protected abstract Collection handleGetValueDependencies()
EJB3EntityFacade.getValueDependencies()
public final Collection getValueDependencies()
getValueDependencies
in interface EJB3EntityFacade
protected abstract Collection handleGetEntityRelations()
EJB3EntityFacade.getEntityRelations()
public final Collection getEntityRelations()
getEntityRelations
in interface EJB3EntityFacade
protected abstract String handleGetEntityListenerName()
EJB3EntityFacade.getEntityListenerName()
public final String getEntityListenerName()
getEntityListenerName
in interface EJB3EntityFacade
protected abstract String handleGetEntityEmbeddableName()
EJB3EntityFacade.getEntityEmbeddableName()
public final String getEntityEmbeddableName()
getEntityEmbeddableName
in interface EJB3EntityFacade
protected abstract String handleGetFullyQualifiedEntityListenerName()
EJB3EntityFacade.getFullyQualifiedEntityListenerName()
public final String getFullyQualifiedEntityListenerName()
getFullyQualifiedEntityListenerName
in interface EJB3EntityFacade
protected abstract String handleGetFullyQualifiedEntityEmbeddableName()
EJB3EntityFacade.getFullyQualifiedEntityEmbeddableName()
public final String getFullyQualifiedEntityEmbeddableName()
getFullyQualifiedEntityEmbeddableName
in interface EJB3EntityFacade
protected abstract String handleGetDefaultCascadeType()
EJB3EntityFacade.getDefaultCascadeType()
public final String getDefaultCascadeType()
getDefaultCascadeType
in interface EJB3EntityFacade
protected abstract String handleGetDiscriminatorColumn()
EJB3EntityFacade.getDiscriminatorColumn()
public final String getDiscriminatorColumn()
getDiscriminatorColumn
in interface EJB3EntityFacade
protected abstract String handleGetDiscriminatorColumnDefinition()
EJB3EntityFacade.getDiscriminatorColumnDefinition()
public final String getDiscriminatorColumnDefinition()
getDiscriminatorColumnDefinition
in interface EJB3EntityFacade
protected abstract int handleGetDiscriminatorLength()
EJB3EntityFacade.getDiscriminatorLength()
public final int getDiscriminatorLength()
getDiscriminatorLength
in interface EJB3EntityFacade
protected abstract String handleGetDiscriminatorType()
EJB3EntityFacade.getDiscriminatorType()
public final String getDiscriminatorType()
getDiscriminatorType
in interface EJB3EntityFacade
protected abstract String handleGetDiscriminatorValue()
EJB3EntityFacade.getDiscriminatorValue()
public final String getDiscriminatorValue()
getDiscriminatorValue
in interface EJB3EntityFacade
protected abstract boolean handleIsInheritanceSingleTable()
EJB3EntityFacade.isInheritanceSingleTable()
public final boolean isInheritanceSingleTable()
isInheritanceSingleTable
in interface EJB3EntityFacade
protected abstract String handleGetInheritanceStrategy()
EJB3EntityFacade.getInheritanceStrategy()
public final String getInheritanceStrategy()
getInheritanceStrategy
in interface EJB3EntityFacade
protected abstract boolean handleIsInheritanceTablePerClass()
EJB3EntityFacade.isInheritanceTablePerClass()
public final boolean isInheritanceTablePerClass()
isInheritanceTablePerClass
in interface EJB3EntityFacade
protected abstract boolean handleIsInheritanceJoined()
EJB3EntityFacade.isInheritanceJoined()
public final boolean isInheritanceJoined()
isInheritanceJoined
in interface EJB3EntityFacade
protected abstract boolean handleIsRequiresSpecializationMapping()
EJB3EntityFacade.isRequiresSpecializationMapping()
public final boolean isRequiresSpecializationMapping()
isRequiresSpecializationMapping
in interface EJB3EntityFacade
protected abstract boolean handleIsRequiresGeneralizationMapping()
EJB3EntityFacade.isRequiresGeneralizationMapping()
public final boolean isRequiresGeneralizationMapping()
isRequiresGeneralizationMapping
in interface EJB3EntityFacade
protected abstract String handleGetEntityImplementationName()
EJB3EntityFacade.getEntityImplementationName()
public final String getEntityImplementationName()
getEntityImplementationName
in interface EJB3EntityFacade
protected abstract String handleGetFullyQualifiedEntityImplementationName()
EJB3EntityFacade.getFullyQualifiedEntityImplementationName()
public final String getFullyQualifiedEntityImplementationName()
getFullyQualifiedEntityImplementationName
in interface EJB3EntityFacade
protected abstract String handleGetEntityName()
EJB3EntityFacade.getEntityName()
public final String getEntityName()
getEntityName
in interface EJB3EntityFacade
protected abstract String handleGetFullyQualifiedEntityName()
EJB3EntityFacade.getFullyQualifiedEntityName()
public final String getFullyQualifiedEntityName()
getFullyQualifiedEntityName
in interface EJB3EntityFacade
protected abstract boolean handleIsEmbeddableSuperclass()
EJB3EntityFacade.isEmbeddableSuperclass()
public final boolean isEmbeddableSuperclass()
isEmbeddableSuperclass
in interface EJB3EntityFacade
protected abstract boolean handleIsGenericFinders()
EJB3EntityFacade.isGenericFinders()
public final boolean isGenericFinders()
isGenericFinders
in interface EJB3EntityFacade
protected abstract boolean handleIsCompositePrimaryKeyPresent()
EJB3EntityFacade.isCompositePrimaryKeyPresent()
public final boolean isCompositePrimaryKeyPresent()
isCompositePrimaryKeyPresent
in interface EJB3EntityFacade
protected abstract String handleGetFullyQualifiedEntityCompositePrimaryKeyName()
EJB3EntityFacade.getFullyQualifiedEntityCompositePrimaryKeyName()
public final String getFullyQualifiedEntityCompositePrimaryKeyName()
getFullyQualifiedEntityCompositePrimaryKeyName
in interface EJB3EntityFacade
protected abstract String handleGetEntityCompositePrimaryKeyName()
EJB3EntityFacade.getEntityCompositePrimaryKeyName()
public final String getEntityCompositePrimaryKeyName()
getEntityCompositePrimaryKeyName
in interface EJB3EntityFacade
protected abstract boolean handleIsEmbeddableSuperclassGeneralizationExists()
EJB3EntityFacade.isEmbeddableSuperclassGeneralizationExists()
public final boolean isEmbeddableSuperclassGeneralizationExists()
isEmbeddableSuperclassGeneralizationExists
in interface EJB3EntityFacade
protected abstract boolean handleIsListenerEnabled()
EJB3EntityFacade.isListenerEnabled()
public final boolean isListenerEnabled()
isListenerEnabled
in interface EJB3EntityFacade
protected abstract boolean handleIsFinderFindAllExists()
EJB3EntityFacade.isFinderFindAllExists()
public final boolean isFinderFindAllExists()
isFinderFindAllExists
in interface EJB3EntityFacade
protected abstract boolean handleIsFinderFindByPrimaryKeyExists()
EJB3EntityFacade.isFinderFindByPrimaryKeyExists()
public final boolean isFinderFindByPrimaryKeyExists()
isFinderFindByPrimaryKeyExists
in interface EJB3EntityFacade
protected abstract boolean handleIsManageable()
EJB3EntityFacade.isManageable()
public final boolean isManageable()
isManageable
in interface EJB3EntityFacade
protected abstract String handleGetCacheType()
EJB3EntityFacade.getCacheType()
public final String getCacheType()
getCacheType
in interface EJB3EntityFacade
protected abstract boolean handleIsCacheEnabled()
EJB3EntityFacade.isCacheEnabled()
public final boolean isCacheEnabled()
isCacheEnabled
in interface EJB3EntityFacade
protected abstract boolean handleIsUseDefaultCacheRegion()
EJB3EntityFacade.isUseDefaultCacheRegion()
public final boolean isUseDefaultCacheRegion()
isUseDefaultCacheRegion
in interface EJB3EntityFacade
protected abstract String handleGetDaoName()
EJB3EntityFacade.getDaoName()
public final String getDaoName()
getDaoName
in interface EJB3EntityFacade
protected abstract String handleGetFullyQualifiedDaoName()
EJB3EntityFacade.getFullyQualifiedDaoName()
public final String getFullyQualifiedDaoName()
getFullyQualifiedDaoName
in interface EJB3EntityFacade
protected abstract String handleGetDaoImplementationName()
EJB3EntityFacade.getDaoImplementationName()
public final String getDaoImplementationName()
getDaoImplementationName
in interface EJB3EntityFacade
protected abstract String handleGetFullyQualifiedDaoImplementationName()
EJB3EntityFacade.getFullyQualifiedDaoImplementationName()
public final String getFullyQualifiedDaoImplementationName()
getFullyQualifiedDaoImplementationName
in interface EJB3EntityFacade
protected abstract String handleGetDaoBaseName()
EJB3EntityFacade.getDaoBaseName()
public final String getDaoBaseName()
getDaoBaseName
in interface EJB3EntityFacade
protected abstract String handleGetFullyQualifiedDaoBaseName()
EJB3EntityFacade.getFullyQualifiedDaoBaseName()
public final String getFullyQualifiedDaoBaseName()
getFullyQualifiedDaoBaseName
in interface EJB3EntityFacade
protected abstract boolean handleIsDaoBusinessOperationsPresent()
EJB3EntityFacade.isDaoBusinessOperationsPresent()
public final boolean isDaoBusinessOperationsPresent()
isDaoBusinessOperationsPresent
in interface EJB3EntityFacade
protected abstract boolean handleIsDaoImplementationRequired()
EJB3EntityFacade.isDaoImplementationRequired()
public final boolean isDaoImplementationRequired()
isDaoImplementationRequired
in interface EJB3EntityFacade
protected abstract String handleGetDaoNoTransformationConstantName()
EJB3EntityFacade.getDaoNoTransformationConstantName()
public final String getDaoNoTransformationConstantName()
getDaoNoTransformationConstantName
in interface EJB3EntityFacade
protected abstract String handleGetDefaultPersistenceContextUnitName()
EJB3EntityFacade.getDefaultPersistenceContextUnitName()
public final String getDefaultPersistenceContextUnitName()
getDefaultPersistenceContextUnitName
in interface EJB3EntityFacade
protected abstract String handleGetDaoDefaultExceptionName()
EJB3EntityFacade.getDaoDefaultExceptionName()
public final String getDaoDefaultExceptionName()
getDaoDefaultExceptionName
in interface EJB3EntityFacade
protected abstract String handleGetFullyQualifiedDaoDefaultExceptionName()
EJB3EntityFacade.getFullyQualifiedDaoDefaultExceptionName()
public final String getFullyQualifiedDaoDefaultExceptionName()
getFullyQualifiedDaoDefaultExceptionName
in interface EJB3EntityFacade
protected abstract boolean handleIsEntityImplementationRequired()
EJB3EntityFacade.isEntityImplementationRequired()
public final boolean isEntityImplementationRequired()
isEntityImplementationRequired
in interface EJB3EntityFacade
protected abstract boolean handleIsSecurityEnabled()
EJB3EntityFacade.isSecurityEnabled()
public final boolean isSecurityEnabled()
isSecurityEnabled
in interface EJB3EntityFacade
protected abstract String handleGetRolesAllowed()
EJB3EntityFacade.getRolesAllowed()
public final String getRolesAllowed()
getRolesAllowed
in interface EJB3EntityFacade
protected abstract String handleGetSecurityRealm()
EJB3EntityFacade.getSecurityRealm()
public final String getSecurityRealm()
getSecurityRealm
in interface EJB3EntityFacade
protected abstract boolean handleIsUseQueryCache()
EJB3EntityFacade.isUseQueryCache()
public final boolean isUseQueryCache()
isUseQueryCache
in interface EJB3EntityFacade
protected abstract boolean handleIsSeamComponent()
EJB3EntityFacade.isSeamComponent()
public final boolean isSeamComponent()
isSeamComponent
in interface EJB3EntityFacade
protected abstract String handleGetSeamComponentScopeType()
EJB3EntityFacade.getSeamComponentScopeType()
public final String getSeamComponentScopeType()
getSeamComponentScopeType
in interface EJB3EntityFacade
protected abstract String handleGetSeamComponentName()
EJB3EntityFacade.getSeamComponentName()
public final String getSeamComponentName()
getSeamComponentName
in interface EJB3EntityFacade
protected abstract Collection handleGetCreateMethods(boolean follow)
follow
- public Collection getCreateMethods(boolean follow)
getCreateMethods
in interface EJB3EntityFacade
follow
- boolean
If true, all create methods will be returned from the inheritance hierarchy, false otherwise.protected abstract Collection handleGetSelectMethods(boolean follow)
follow
- public Collection getSelectMethods(boolean follow)
getSelectMethods
in interface EJB3EntityFacade
follow
- boolean
If set to true, then all select methods including those in its superclass will be retrieved.protected abstract Collection handleGetEnvironmentEntries(boolean follow)
follow
- public Collection getEnvironmentEntries(boolean follow)
getEnvironmentEntries
in interface EJB3EntityFacade
follow
- boolean
If true, then the inheritance hierarchy will be followed and we'll retrieve all env-entries
from any super types as well.protected abstract Collection handleGetConstants(boolean follow)
follow
- public Collection getConstants(boolean follow)
getConstants
in interface EJB3EntityFacade
follow
- boolean
If true, then the inheritance hierarchy will be followed and we'll retrieve all constants
from any super types as well.protected abstract boolean handleIsOperationPresent(String op)
op
- public boolean isOperationPresent(String op)
isOperationPresent
in interface EJB3EntityFacade
op
- String
TODO: Model Documentation for
EJB3EntityFacade.isOperationPresent(op)protected abstract boolean handleIsAttributePresent(String att)
att
- public boolean isAttributePresent(String att)
isAttributePresent
in interface EJB3EntityFacade
att
- String
TODO: Model Documentation for
EJB3EntityFacade.isAttributePresent(att)protected abstract boolean handleIsIdentifierPresent(String id)
id
- public boolean isIdentifierPresent(String id)
isIdentifierPresent
in interface EJB3EntityFacade
id
- String
TODO: Model Documentation for
EJB3EntityFacade.isIdentifierPresent(id)protected abstract String handleGetSqlType()
public String getSqlType()
getSqlType
in interface EJB3EntityFacade
protected abstract String handleGetAttributesAsList(Collection attributes, boolean includeTypes, boolean includeNames, boolean includeAutoIdentifiers)
attributes
- includeTypes
- includeNames
- includeAutoIdentifiers
- public String getAttributesAsList(Collection attributes, boolean includeTypes, boolean includeNames, boolean includeAutoIdentifiers)
getAttributesAsList
in interface EJB3EntityFacade
attributes
- Collection
a collection of Attribute
objectsincludeTypes
- boolean
if true
, the type names of the attributes are included.includeNames
- boolean
if true
, the names of the attributes are includedincludeAutoIdentifiers
- boolean
Whether to include identifier attributes.protected abstract Collection handleGetValueObjectReferences(boolean follow)
follow
is true, then
all value object references (including those that were inherited) will be retrieved.follow
- public Collection getValueObjectReferences(boolean follow)
follow
is true, then
all value object references (including those that were inherited) will be retrieved.getValueObjectReferences
in interface EJB3EntityFacade
follow
- boolean
TODO: Model Documentation for
EJB3EntityFacade.getValueObjectReferences(follow)protected abstract Collection handleGetInstanceAttributes(boolean follow, boolean withIdentifiers)
follow
- withIdentifiers
- public Collection getInstanceAttributes(boolean follow, boolean withIdentifiers)
getInstanceAttributes
in interface EJB3EntityFacade
follow
- boolean
Whether or not to follow the inheritance hierarchy when retrieving the attributes.withIdentifiers
- boolean
Whether or not to include identifiers in the returned attributes.protected abstract String handleGetInstanceAttributeNameList(boolean follow, boolean withIdentifiers)
follow
- withIdentifiers
- public String getInstanceAttributeNameList(boolean follow, boolean withIdentifiers)
getInstanceAttributeNameList
in interface EJB3EntityFacade
follow
- boolean
Whether or not to 'follow' the inheritance hierarchy.withIdentifiers
- boolean
Whether or not to include identifiers in the returned attributes.protected abstract String handleGetInstanceAttributeTypeList(boolean follow, boolean withIdentifiers)
follow
- withIdentifiers
- public String getInstanceAttributeTypeList(boolean follow, boolean withIdentifiers)
getInstanceAttributeTypeList
in interface EJB3EntityFacade
follow
- boolean
Whether or not to 'follow' the inheritance hierarchy.withIdentifiers
- boolean
Whether or not to include identifiers.public final EJB3EntityFacade getRoot()
getRoot
in interface EJB3EntityFacade
protected abstract Object handleGetRoot()
public final Collection<DependencyFacade> getValueObjectReferences()
getValueObjectReferences
in interface EJB3EntityFacade
protected abstract Collection handleGetValueObjectReferences()
public final AttributeFacade getManageableDisplayAttribute()
getManageableDisplayAttribute
in interface EJB3EntityFacade
protected abstract Object handleGetManageableDisplayAttribute()
public final Collection<DependencyFacade> getAllValueObjectReferences()
getAllValueObjectReferences
in interface EJB3EntityFacade
protected abstract Collection handleGetAllValueObjectReferences()
public final Collection<EJB3OperationFacade> getDaoBusinessOperations()
getDaoBusinessOperations
in interface EJB3EntityFacade
protected abstract Collection handleGetDaoBusinessOperations()
public final Collection<Role> getNonRunAsRoles()
getNonRunAsRoles
in interface EJB3EntityFacade
protected abstract Collection handleGetNonRunAsRoles()
public final ModelElementFacade getIdentifier()
getIdentifier
in interface EJB3EntityFacade
protected abstract Object handleGetIdentifier()
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::ejb3::metafacades::EJB3EntityFacade::entities can only generalize other entities or mapped superclasses
Error: Entities can only generalize other entities or mapped superclasses.
OCL: context EJB3EntityFacade inv: generalization -> notEmpty() implies (generalization.oclIsKindOf(EJB3EntityFacade) or generalization.oclIsKindOf(EJB3MappedSuperclassFacade))
validateInvariants
in interface ModelElementFacade
validateInvariants
in class MetafacadeBase
validationMessages
- CollectionMetafacadeBase.validateInvariants(Collection validationMessages)
public String toString()
toString
in class MetafacadeBase
Object.toString()
Copyright © 2006–2014 AndroMDA.org. All rights reserved.