public interface Entity extends ClassifierFacade
Modifier and Type | Method and Description |
---|---|
Collection<DependencyFacade> |
getAllEntityReferences()
Returns a collection of all entities this entity and its ancestors have a relation to.
|
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.
|
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.
|
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<AttributeFacade> |
getEmbeddedValues()
The embedded values belonging to this entity.
|
Collection<DependencyFacade> |
getEntityReferences()
All entities referenced by this entity.
|
String |
getFullyQualifiedIdentifierTypeName()
The full name of the type of the identifier.
|
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.
|
short |
getMaxSqlNameLength()
The maximum length a SQL name may be.
|
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.
|
EntityAssociationEnd |
getParentEnd()
Returns the parent association end of this entity if its a child entity.
|
Collection<ModelElementFacade> |
getProperties(boolean follow,
boolean withIdentifiers)
Gets all properties of this entity, this includes the attributes and navigable association
ends of the entity.
|
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> |
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 |
getSchema()
The name of the schema that contains the database table
|
String |
getTableName()
The name of the database table to which this entity is persisted.
|
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 |
isCompositeIdentifier()
True if this entity identifier is a composite (consists of multiple key columns, typically
abstracted into an external composite identifier class)
|
boolean |
isDynamicIdentifiersPresent()
True if the entity has its identifiers dynamically added, false otherwise.
|
boolean |
isEntityMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
boolean |
isIdentifiersPresent()
True if the entity has any identifiers defined, false otherwise.
|
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.
|
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 isEntityMetaType()
true
Collection<DependencyFacade> getAllEntityReferences()
String getAttributeNameList(boolean follow, boolean withIdentifiers)
follow
- booleanwithIdentifiers
- booleanString getAttributeNameList(boolean follow, boolean withIdentifiers, boolean withDerived)
follow
- booleanwithIdentifiers
- booleanwithDerived
- booleanString getAttributeTypeList(boolean follow, boolean withIdentifiers)
follow
- booleanwithIdentifiers
- booleanCollection<AttributeFacade> getAttributes(boolean follow, boolean withIdentifiers)
follow
- booleanwithIdentifiers
- booleanCollection<AttributeFacade> getAttributes(boolean follow, boolean withIdentifiers, boolean withDerived)
follow
- booleanwithIdentifiers
- booleanwithDerived
- booleanCollection<OperationFacade> getBusinessOperations()
Collection<EntityAssociationEnd> getChildEnds()
Collection<AttributeFacade> getEmbeddedValues()
Collection<DependencyFacade> getEntityReferences()
String getFullyQualifiedIdentifierTypeName()
Collection<AssociationEndFacade> getIdentifierAssociationEnds()
String getIdentifierGetterName()
String getIdentifierName()
String getIdentifierSetterName()
String getIdentifierTypeName()
Collection<ModelElementFacade> getIdentifiers()
Collection<ModelElementFacade> getIdentifiers(boolean follow)
follow
- booleanshort getMaxSqlNameLength()
String getOperationCallFromAttributes(boolean withIdentifiers)
withIdentifiers
- booleanString getOperationCallFromAttributes(boolean withIdentifiers, boolean follow)
withIdentifiers
- booleanfollow
- booleanEntityAssociationEnd getParentEnd()
Collection<ModelElementFacade> getProperties(boolean follow, boolean withIdentifiers)
follow
- booleanwithIdentifiers
- booleanCollection<EntityQueryOperation> getQueryOperations()
Collection<OperationFacade> getQueryOperations(boolean follow)
follow
- booleanString getRequiredAttributeNameList(boolean follow, boolean withIdentifiers)
follow
- booleanwithIdentifiers
- booleanString getRequiredAttributeTypeList(boolean follow, boolean withIdentifiers)
follow
- booleanwithIdentifiers
- booleanCollection<AttributeFacade> getRequiredAttributes(boolean follow, boolean withIdentifiers)
follow
- booleanwithIdentifiers
- booleanCollection<ModelElementFacade> getRequiredProperties(boolean follow, boolean withIdentifiers)
follow
- booleanwithIdentifiers
- booleanString getRequiredPropertyNameList(boolean follow, boolean withIdentifiers)
follow
- booleanwithIdentifiers
- booleanString getRequiredPropertyTypeList(boolean follow, boolean withIdentifiers)
follow
- booleanwithIdentifiers
- booleanString getTableName()
boolean isChild()
boolean isCompositeIdentifier()
boolean isDynamicIdentifiersPresent()
boolean isIdentifiersPresent()
boolean isUsingAssignedIdentifier()
boolean isUsingForeignIdentifier()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.