public interface EJB3EntityFacade extends Entity
Modifier and Type | Method and Description |
---|---|
Collection |
getAllEntityRelations()
Find all associations that define relations to other entities.
|
List |
getAllInstanceAttributes()
All instanceAttributes for this entity.
|
Collection<DependencyFacade> |
getAllValueObjectReferences()
Returns all value object references (this includes all those that are inherited from any
parent entities)
|
String |
getAttributesAsList(Collection attributes,
boolean includeTypes,
boolean includeNames,
boolean includeAutoIdentifiers)
Create a comma separated list of attributes.
|
String |
getCacheType()
Provides the cache policy for the entity.
|
Collection |
getConstants(boolean follow)
Gets all constants for this entity.
|
Collection |
getCreateMethods(boolean follow)
Gets create methods for the entity.
|
String |
getDaoBaseName()
The DAO base class name.
|
Collection<EJB3OperationFacade> |
getDaoBusinessOperations()
The business operations modeled on the entity that will be generated on the DAO (Data Access
Object).
|
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 |
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 |
getEntityRelations()
Entity classes that are association relationships from this entity.
|
Collection |
getEnvironmentEntries(boolean follow)
Gets all env-entries for the specified entity EJB.
|
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 |
getHomeInterfaceName()
A String representing the name of a home interface for this entity EJB.
|
ModelElementFacade |
getIdentifier()
Returns the identifier, which can be an attribute or an association.
|
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 |
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.
|
String |
getJndiName()
jndiNamePrefix/ejb/this.getFullyQualifiedName()
|
AttributeFacade |
getManageableDisplayAttribute()
Find the attribute with 'andromda_manageable_table_displayname'
|
Collection<Role> |
getNonRunAsRoles()
Return all dependent Roles with the stereotype 'RunAs'
|
String |
getRolesAllowed()
Returns the comma separated list of roles allowd to execute DAO operations.
|
EJB3EntityFacade |
getRoot()
Travels up the inheritance hierarchy and retrieves the root of this entity.
|
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).
|
String |
getSqlType()
Gets the SQL Mappings from the SQLMappings URI
|
Collection |
getValueDependencies()
ValueObject dependency references from this Entity
|
Collection<DependencyFacade> |
getValueObjectReferences()
Retrieves the value object dependencies for this entity without inherited object references.
|
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.
|
boolean |
isAttributePresent(String att)
If the attribute att is present
|
boolean |
isCacheEnabled()
Returns true if caching has been enabled via namespace property hibernateEnableCache.
|
boolean |
isCompositePrimaryKeyPresent()
Returns true if a composite primary key exists for this entity bean.
|
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 |
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 |
isEntityImplementationRequired()
True if an entity implementation is required for the entity class, this is the case when
there are business operations.
|
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 |
isGenericFinders()
Returns true if the generic finder property is true.
|
boolean |
isIdentifierPresent(String id)
If the identifier id is present
|
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 |
isListenerEnabled()
Returns true if this entity bean has the stereotype Listener.
|
boolean |
isManageable()
Returns true if this entity is assigned the Manageable stereotype.
|
boolean |
isOperationPresent(String op)
If the operation op is present
|
boolean |
isRequiresGeneralizationMapping()
Returns true if the entity requires generalization mapping.
|
boolean |
isRequiresSpecializationMapping()
Returns true if the entity requires specialization mapping.
|
boolean |
isSeamComponent()
Returns true if this entity has the <
|
boolean |
isSecurityEnabled()
Returns true if the security realm is specified.
|
boolean |
isSyntheticCreateMethodAllowed()
Whether or not to allow a synthetic (auto generated) create method.
|
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.
|
getAllEntityReferences, getAttributeNameList, getAttributeNameList, getAttributes, getAttributes, getAttributeTypeList, getBusinessOperations, getChildEnds, getEmbeddedValues, getEntityReferences, getFullyQualifiedIdentifierTypeName, getIdentifierAssociationEnds, getIdentifierGetterName, getIdentifierName, getIdentifiers, getIdentifiers, getIdentifierSetterName, getIdentifierTypeName, getMaxSqlNameLength, getOperationCallFromAttributes, getOperationCallFromAttributes, getParentEnd, getProperties, getQueryOperations, getQueryOperations, getRequiredAttributeNameList, getRequiredAttributes, getRequiredAttributeTypeList, getRequiredProperties, getRequiredPropertyNameList, getRequiredPropertyTypeList, getSchema, getTableName, isChild, isCompositeIdentifier, isDynamicIdentifiersPresent, isEntityMetaType, isIdentifiersPresent, isUsingAssignedIdentifier, isUsingForeignIdentifier
findAttribute, getAbstractions, getAllAssociatedClasses, getAllProperties, getAllRequiredConstructorParameters, getArray, getArrayName, getAssociatedClasses, getAssociationEnds, getAttributes, getAttributes, getFullyQualifiedArrayName, getImplementationOperations, getImplementedInterfaceList, getInstanceAttributes, getInstanceOperations, getInterfaceAbstractions, getJavaNewString, getJavaNullString, getNavigableConnectingEnds, getNavigableConnectingEnds, getNonArray, getOperationCallFromAttributes, getOperations, getProperties, getProperties, getRequiredConstructorParameters, getSerialVersionUID, getStaticAttributes, getStaticOperations, getSuperClass, getWrapperName, isAbstract, isArrayType, isAssociationClass, isBlobType, isBooleanType, isCharacterType, isClassifierFacadeMetaType, isClobType, isCollectionType, isDataType, isDateType, isDoubleType, isEmbeddedValue, isEnumeration, isFileType, isFloatType, isIntegerType, isInterface, isLeaf, isListType, isLongType, isMapType, isPrimitive, isSetType, isStringType, isTimeType, isWrappedPrimitive
findTaggedValue, getAllGeneralizations, getAllSpecializations, getGeneralization, getGeneralizationLinks, getGeneralizationList, getGeneralizationRoot, getGeneralizations, getSpecializations, isGeneralizableElementFacadeMetaType
copyTaggedValues, findTaggedValue, findTaggedValues, getBindedFullyQualifiedName, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getKeywords, getLabel, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getQualifiedName, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasKeyword, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isDocumentationPresent, isModelElementFacadeMetaType, isReservedWord, isTemplateParametersPresent, isValidIdentifierName, translateConstraint, translateConstraints, translateConstraints, validateInvariants
boolean isEJB3EntityFacadeMetaType()
true
Collection getAllEntityRelations()
List getAllInstanceAttributes()
Collection<DependencyFacade> getAllValueObjectReferences()
String getAttributesAsList(Collection attributes, boolean includeTypes, boolean includeNames, boolean includeAutoIdentifiers)
attributes
- CollectionincludeTypes
- booleanincludeNames
- booleanincludeAutoIdentifiers
- booleanString getCacheType()
Collection getConstants(boolean follow)
follow
- booleanCollection getCreateMethods(boolean follow)
follow
- booleanString getDaoBaseName()
Collection<EJB3OperationFacade> getDaoBusinessOperations()
String getDaoDefaultExceptionName()
String getDaoImplementationName()
String getDaoName()
String getDaoNoTransformationConstantName()
String getDefaultCascadeType()
String getDefaultPersistenceContextUnitName()
String getDiscriminatorColumn()
String getDiscriminatorColumnDefinition()
int getDiscriminatorLength()
String getDiscriminatorType()
String getDiscriminatorValue()
String getEntityCompositePrimaryKeyName()
String getEntityEmbeddableName()
String getEntityImplementationName()
String getEntityListenerName()
String getEntityName()
Collection getEntityRelations()
Collection getEnvironmentEntries(boolean follow)
follow
- booleanString getFullyQualifiedDaoBaseName()
String getFullyQualifiedDaoDefaultExceptionName()
String getFullyQualifiedDaoImplementationName()
String getFullyQualifiedDaoName()
String getFullyQualifiedEntityCompositePrimaryKeyName()
String getFullyQualifiedEntityEmbeddableName()
String getFullyQualifiedEntityImplementationName()
String getFullyQualifiedEntityListenerName()
String getFullyQualifiedEntityName()
String getHomeInterfaceName()
ModelElementFacade getIdentifier()
String getInheritanceStrategy()
List getInheritedInstanceAttributes()
String getInstanceAttributeNameList(boolean follow, boolean withIdentifiers)
follow
- booleanwithIdentifiers
- booleanString getInstanceAttributeTypeList(boolean follow, boolean withIdentifiers)
follow
- booleanwithIdentifiers
- booleanCollection getInstanceAttributes(boolean follow, boolean withIdentifiers)
follow
- booleanwithIdentifiers
- booleanString getJndiName()
AttributeFacade getManageableDisplayAttribute()
Collection<Role> getNonRunAsRoles()
String getRolesAllowed()
EJB3EntityFacade getRoot()
String getSeamComponentName()
String getSeamComponentScopeType()
String getSecurityRealm()
Collection getSelectMethods(boolean follow)
follow
- booleanString getSqlType()
Collection getValueDependencies()
Collection<DependencyFacade> getValueObjectReferences()
Collection getValueObjectReferences(boolean follow)
follow
is true, then
all value object references (including those that were inherited) will be retrieved.follow
- booleanString getViewType()
boolean isAttributePresent(String att)
att
- Stringboolean isCacheEnabled()
boolean isCompositePrimaryKeyPresent()
boolean isDaoBusinessOperationsPresent()
boolean isDaoImplementationRequired()
boolean isEmbeddableSuperclass()
boolean isEmbeddableSuperclassGeneralizationExists()
boolean isEntityImplementationRequired()
boolean isFinderFindAllExists()
boolean isFinderFindByPrimaryKeyExists()
boolean isGenericFinders()
boolean isIdentifierPresent(String id)
id
- Stringboolean isInheritanceJoined()
boolean isInheritanceSingleTable()
boolean isInheritanceTablePerClass()
boolean isListenerEnabled()
boolean isManageable()
boolean isOperationPresent(String op)
op
- Stringboolean isRequiresGeneralizationMapping()
boolean isRequiresSpecializationMapping()
boolean isSeamComponent()
boolean isSecurityEnabled()
boolean isSyntheticCreateMethodAllowed()
boolean isUseDefaultCacheRegion()
boolean isUseQueryCache()
Copyright © 2006–2014 AndroMDA.org. All rights reserved.