public abstract class EJBEntityFacadeLogic extends MetafacadeBase implements EJBEntityFacade
EJBEntityFacade
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot, logger
Modifier | Constructor and Description |
---|---|
protected |
EJBEntityFacadeLogic(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).
|
ClassifierFacade |
getArray()
Gets the array type for this classifier.
|
String |
getArrayName()
The name of the classifier as an array.
|
Collection<ClassifierFacade> |
getAssociatedClasses()
Lists the classes associated to this one, there is no repitition of classes.
|
List<AssociationEndFacade> |
getAssociationEnds()
Gets the association ends belonging to a classifier.
|
String |
getAttributeNameList(boolean follow,
boolean withIdentifiers)
Gets a comma separated list of attribute names.
|
String |
getAttributeNameList(boolean follow,
boolean withIdentifiers,
boolean withDerived)
Gets a comma separated list of attribute names.
|
List<AttributeFacade> |
getAttributes()
Gets the attributes that belong to the classifier.
|
List<AttributeFacade> |
getAttributes(boolean follow)
Gets all attributes for the classifier and if 'follow' is true goes up the inheritance
hierarchy and gets the attributes from the super classes as well.
|
Collection<AttributeFacade> |
getAttributes(boolean follow,
boolean withIdentifiers)
Gets all attributes of the entity, and optionally retieves the super entities attributes as
well as excludes the entity's identifiers if 'withIdentifiers' is set to false.
|
Collection<AttributeFacade> |
getAttributes(boolean follow,
boolean withIdentifiers,
boolean withDerived)
Gets all attributes of the entity, and optionally retieves the super entities attributes as
well as excludes the entity's identifiers if 'withIdentifiers' is set to false and exclude
derived attributes if 'withDerived' is set to false.
|
String |
getAttributeTypeList(boolean follow,
boolean withIdentifiers)
Gets a comma separated list of attribute types.
|
String |
getBindedFullyQualifiedName(ModelElementFacade bindedElement)
Returns the fully qualified name of the model element.
|
Collection<OperationFacade> |
getBusinessOperations()
All business operations of the entity, these include any operations that aren't queries.
|
Collection<EntityAssociationEnd> |
getChildEnds()
Gets any children association ends (i.e.
|
Collection |
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 |
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.
|
Collection<DependencyFacade> |
getEntityReferences()
All entities referenced by this entity.
|
Collection |
getEntityRelations()
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.entityRelations
|
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 |
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.
|
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.
|
List |
getInheritedInstanceAttributes()
All inherited instanceAttributes this class.
|
Collection<AttributeFacade> |
getInstanceAttributes()
Those attributes that are scoped to an instance of this class.
|
List<OperationFacade> |
getInstanceOperations()
Those operations that are scoped to an instance of this class.
|
Collection<ClassifierFacade> |
getInterfaceAbstractions()
Those interfaces that are abstractions of this classifier, this basically means this
classifier realizes them.
|
String |
getJavaNewString()
A String representing a new Constructor declaration for this classifier type to be used in a
Java environment.
|
String |
getJavaNullString()
A String representing the null-value for this classifier type to be used in a Java
environment.
|
String |
getJndiName()
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.jndiName
|
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.
|
short |
getMaxSqlNameLength()
The maximum length a SQL name may be.
|
ModelFacade |
getModel()
Return the model containing this model element (multiple models may be loaded and processed
at the same time).
|
String |
getName()
The name of the model element.
|
Collection<AssociationEndFacade> |
getNavigableConnectingEnds()
The other ends of this classifier's association ends which are navigable.
|
List<AssociationEndFacade> |
getNavigableConnectingEnds(boolean follow)
Get the other ends of this classifier's association ends which are navigable and if 'follow'
is true goes up the inheritance hierarchy and gets the super association ends as well.
|
ClassifierFacade |
getNonArray()
Assuming that the classifier is an array, this will return the non array type of the
classifier from
the model.
|
String |
getOperationCallFromAttributes()
The attributes from this classifier in the form of an operation call (this example would be
in Java): '(String attributeOne, String attributeTwo).
|
String |
getOperationCallFromAttributes(boolean withIdentifiers)
Gets the attributes as a list within an operation call, optionally including the type names
and the identifier attributes.
|
String |
getOperationCallFromAttributes(boolean withIdentifiers,
boolean follow)
Gets the attributes as a list within an operation call.
|
List<OperationFacade> |
getOperations()
The operations owned by this classifier.
|
ModelElementFacade |
getPackage()
Gets the package to which this model element belongs.
|
String |
getPackageName()
The name of this model element's package.
|
String |
getPackageName(boolean modelName)
Gets the package name (optionally providing the ability to retrieve the model name and not
the mapped name).
|
String |
getPackagePath()
Returns the package as a path, the returned value always starts with out a slash '/'.
|
EntityAssociationEnd |
getParentEnd()
Returns the parent association end of this entity if its a child entity.
|
List<ModelElementFacade> |
getProperties()
A collection containing all 'properties' of the classifier.
|
List |
getProperties(boolean follow)
Gets all properties (attributes and navigable association ends) for the classifier and if
'follow' is true goes up the inheritance hierarchy and gets the properties from the super
classes as well.
|
Collection<ModelElementFacade> |
getProperties(boolean follow,
boolean withIdentifiers)
Gets all properties of this entity, this includes the attributes and navigable association
ends of the entity.
|
String |
getQualifiedName()
UML2: Returns the value of the 'Qualified Name' attribute.
|
Collection<EntityQueryOperation> |
getQueryOperations()
Returns all the operations that can perform queries on the entity.
|
Collection<OperationFacade> |
getQueryOperations(boolean follow)
Gets all query operations for an entity.
|
String |
getRequiredAttributeNameList(boolean follow,
boolean withIdentifiers)
Gets a comma separated list of required attribute names.
|
Collection<AttributeFacade> |
getRequiredAttributes(boolean follow,
boolean withIdentifiers)
Returns all attributes that are specified as 'required' in the model.
|
String |
getRequiredAttributeTypeList(boolean follow,
boolean withIdentifiers)
Gets a comma separated list of attribute types with are required.
|
Collection<ModelElementFacade> |
getRequiredConstructorParameters()
A collection containing all required and/or read-only 'properties' of the classifier.
|
Collection<ModelElementFacade> |
getRequiredProperties(boolean follow,
boolean withIdentifiers)
Gets all required properties for this entity.
|
String |
getRequiredPropertyNameList(boolean follow,
boolean withIdentifiers)
Creates a comma separated list of the required property names.
|
String |
getRequiredPropertyTypeList(boolean follow,
boolean withIdentifiers)
A comma separated list of the required property types.
|
PackageFacade |
getRootPackage()
Gets the root package for the model element.
|
String |
getSchema()
The name of the schema that contains the database table
|
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()
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.getSqlType
|
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 |
getTransactionType()
Gets the transaction type for this entity (i.e.
|
String |
getValidationName() |
Object |
getValidationOwner() |
Collection |
getValueDependencies()
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.valueDependencies
|
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 |
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 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 |
handleGetHomeInterfaceName() |
protected abstract List |
handleGetInheritedInstanceAttributes() |
protected abstract String |
handleGetJndiName() |
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
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.getSqlType
|
protected abstract String |
handleGetTransactionType() |
protected abstract Collection |
handleGetValueDependencies() |
protected abstract String |
handleGetViewType() |
protected abstract boolean |
handleIsAttributePresent(String att)
Method to be implemented in descendants
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.isAttributePresent
|
protected abstract boolean |
handleIsIdentifierPresent(String id)
Method to be implemented in descendants
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.isIdentifierPresent
|
protected abstract boolean |
handleIsOperationPresent(String op)
Method to be implemented in descendants
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.isOperationPresent
|
protected abstract boolean |
handleIsSyntheticCreateMethodAllowed() |
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)
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.isAttributePresent
|
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 |
isCharacterType()
Indicates if this type represents a char, Character, or java.lang.Character type or not.
|
boolean |
isChild()
Returns true/false depending on whether or not this entity represetns a child in an
association (this occurs when this entity is on the opposite end of an assocation end defined
as composite).
|
boolean |
isClassifierFacadeMetaType() |
boolean |
isClobType()
Returns true if this type represents a Clob type.
|
boolean |
isCollectionType()
True if this classifier represents a collection type.
|
boolean |
isCompositeIdentifier()
True if this entity identifier is a composite (consists of multiple key columns, typically
abstracted into an external composite identifier class)
|
boolean |
isConstraintsPresent()
Indicates if any constraints are present on this model element.
|
boolean |
isDataType()
True/false depending on whether or not this classifier represents a datatype.
|
boolean |
isDateType()
True when this classifier is a date type.
|
boolean |
isDocumentationPresent()
Indicates if any documentation is present on this model element.
|
boolean |
isDoubleType()
Indicates if this type represents a Double type or not.
|
boolean |
isDynamicIdentifiersPresent()
True if the entity has its identifiers dynamically added, false otherwise.
|
boolean |
isEJBEntityFacadeMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
boolean |
isEmbeddedValue()
Indicates whether or not this classifier represents an "EmbeddedValue'.
|
boolean |
isEntityMetaType() |
boolean |
isEnumeration()
True if this classifier is in fact marked as an enumeration.
|
boolean |
isFileType()
Returns true if this type represents a 'file' type.
|
boolean |
isFloatType()
Indicates if this type represents a Float type or not.
|
boolean |
isGeneralizableElementFacadeMetaType() |
boolean |
isIdentifierPresent(String id)
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.isIdentifierPresent
|
boolean |
isIdentifiersPresent()
True if the entity has any identifiers defined, false otherwise.
|
boolean |
isIntegerType()
Indicates if this type represents an int or Integer or java.lang.Integer type or not.
|
boolean |
isInterface()
True/false depending on whether or not this Classifier represents an interface.
|
boolean |
isLeaf()
True if this classifier cannot be extended and represent a leaf in the inheritance tree.
|
boolean |
isListType()
True if this classifier represents a list type.
|
boolean |
isLongType()
Indicates if this type represents a Long type or not.
|
boolean |
isMapType()
Indicates whether or not this classifier represents a Map type.
|
boolean |
isModelElementFacadeMetaType() |
boolean |
isOperationPresent(String op)
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.isOperationPresent
|
boolean |
isPrimitive()
Indicates whether or not this classifier represents a primitive type.
|
boolean |
isReservedWord()
True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript.
|
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 |
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) |
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
protected Object metaObject
Object
protected EJBEntityFacadeLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class MetafacadeBase
context
- MetafacadeBase.resetMetafacadeContext(String context)
public boolean isEJBEntityFacadeMetaType()
EJBEntityFacade
isEJBEntityFacadeMetaType
in interface EJBEntityFacade
EJBEntityFacade
protected abstract boolean handleIsSyntheticCreateMethodAllowed()
EJBEntityFacade.isSyntheticCreateMethodAllowed()
public final boolean isSyntheticCreateMethodAllowed()
isSyntheticCreateMethodAllowed
in interface EJBEntityFacade
protected abstract Collection handleGetAllEntityRelations()
EJBEntityFacade.getAllEntityRelations()
public final Collection getAllEntityRelations()
getAllEntityRelations
in interface EJBEntityFacade
protected abstract String handleGetJndiName()
EJBEntityFacade.getJndiName()
public final String getJndiName()
getJndiName
in interface EJBEntityFacade
protected abstract String handleGetViewType()
EJBEntityFacade.getViewType()
public final String getViewType()
getViewType
in interface EJBEntityFacade
protected abstract List handleGetAllInstanceAttributes()
EJBEntityFacade.getAllInstanceAttributes()
public final List getAllInstanceAttributes()
getAllInstanceAttributes
in interface EJBEntityFacade
protected abstract List handleGetInheritedInstanceAttributes()
EJBEntityFacade.getInheritedInstanceAttributes()
public final List getInheritedInstanceAttributes()
getInheritedInstanceAttributes
in interface EJBEntityFacade
protected abstract String handleGetHomeInterfaceName()
EJBEntityFacade.getHomeInterfaceName()
public final String getHomeInterfaceName()
getHomeInterfaceName
in interface EJBEntityFacade
protected abstract Collection handleGetValueDependencies()
EJBEntityFacade.getValueDependencies()
public final Collection getValueDependencies()
getValueDependencies
in interface EJBEntityFacade
protected abstract Collection handleGetEntityRelations()
EJBEntityFacade.getEntityRelations()
public final Collection getEntityRelations()
getEntityRelations
in interface EJBEntityFacade
protected abstract String handleGetTransactionType()
EJBEntityFacade.getTransactionType()
public final String getTransactionType()
getTransactionType
in interface EJBEntityFacade
protected abstract Collection handleGetCreateMethods(boolean follow)
follow
- public Collection getCreateMethods(boolean follow)
getCreateMethods
in interface EJBEntityFacade
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 EJBEntityFacade
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 EJBEntityFacade
follow
- boolean
If true, then the inheritance hierachy 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 EJBEntityFacade
follow
- boolean
If true, then the inheritance hierachy 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 EJBEntityFacade
op
- String
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.isOperationPresent(op)protected abstract boolean handleIsAttributePresent(String att)
att
- public boolean isAttributePresent(String att)
isAttributePresent
in interface EJBEntityFacade
att
- String
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.isAttributePresent(att)protected abstract boolean handleIsIdentifierPresent(String id)
id
- public boolean isIdentifierPresent(String id)
isIdentifierPresent
in interface EJBEntityFacade
id
- String
TODO: Model Documentation for
org.andromda.cartridges.ejb.metafacades.EJBEntityFacade.isIdentifierPresent(id)protected abstract String handleGetSqlType()
public String getSqlType()
getSqlType
in interface EJBEntityFacade
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)
validateInvariants
in interface ModelElementFacade
validateInvariants
in class MetafacadeBase
validationMessages
- CollectionMetafacadeBase.validateInvariants(Collection validationMessages)
public String toString()
toString
in class MetafacadeBase
Object.toString()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.