public abstract class JSFAttributeLogic extends MetafacadeBase implements JSFAttribute
JSFAttribute
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot, logger
Modifier | Constructor and Description |
---|---|
protected |
JSFAttributeLogic(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.
|
Object |
findTaggedValue(String tagName)
Finds the tagged value with the specified 'tagName'.
|
Object |
findTaggedValue(String name,
boolean follow)
Searches the given feature for the specified tag.
|
Collection<Object> |
findTaggedValues(String tagName)
Returns all the values for the tagged value with the specified name.
|
String |
getBackingListName(ParameterFacade ownerParameter)
Gets backing list name for this attribute.
|
String |
getBackingValueName(ParameterFacade ownerParameter)
Constructs and returns the backing value name given the 'ownerParameter'.
|
String |
getBindedFullyQualifiedName(ModelElementFacade bindedElement)
Returns the fully qualified name of the model element.
|
Collection<ConstraintFacade> |
getConstraints()
Gets all constraints belonging to the model element.
|
Collection<ConstraintFacade> |
getConstraints(String kind)
Returns the constraints of the argument kind that have been placed onto this model.
|
String |
getDateFormatter(JSFParameter ownerParameter)
Gets the name of the date formatter for this attribute by constructing the name from the
'ownerParameter' (if this attribute represents a date).
|
String |
getDefaultValue()
The default value of the attribute.
|
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.
|
String |
getDummyValue()
The dummy value to give the attribute when creating a dummy instance of this attribute's
owner.
|
EnumerationFacade |
getEnumeration()
If the attribute is an enumeration literal this represents the owning enumeration.
|
String |
getEnumerationLiteralParameters()
Returns the enumeration literal parameters defined by tagged value as a comma separated list.
|
String |
getEnumerationValue()
The value for this attribute if it is an enumeration literal, null otherwise.
|
String |
getFormat()
If this attributes represents a date or time this method will return the format in which it
must be represented.
|
String |
getFormPropertyId(ParameterFacade ownerParameter)
Gets the unique id of this attribute on the form.
|
String |
getFormPropertyName(ParameterFacade ownerParameter)
Retrieves the name of the form property for this attribute by taking the name of the owner
property.
|
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
'/'.
|
String |
getGetterName()
The name of the accessor operation that would retrieve this attribute's value.
|
String |
getGetterSetterTypeName()
The name of the type that is returned on the accessor and mutator operations, determined in
part by the multiplicity.
|
String |
getId()
Gets the unique identifier of the underlying model element.
|
String |
getInputTableIdentifierColumns()
A comma separated list of the input table identifier columns (these are the columns that
uniquely define a row in an input table).
|
Collection<String> |
getKeywords()
UML2: Retrieves the keywords for this element.
|
String |
getLabel()
UML2: Retrieves a localized label for this named element.
|
String |
getLabelListName(ParameterFacade ownerParameter)
Gets the name of the label list for this parameter.
|
TypeMappings |
getLanguageMappings()
The language mappings that have been set for this model element.
|
int |
getLower()
the lower value for the multiplicity
-only applicable for UML2
|
String |
getMaxLength()
The max length allowed in the input component
|
String |
getMessageKey()
The message key for this attribute.
|
String |
getMessageValue()
The default value for the message key.
|
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.
|
ClassifierFacade |
getOwner()
Gets the classifier who is the owner of the attributes.
|
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 '/'.
|
String |
getQualifiedName()
UML2: Returns the value of the 'Qualified Name' attribute.
|
PackageFacade |
getRootPackage()
Gets the root package for the model element.
|
String |
getSetterName()
The name of the mutator operation that would retrieve this attribute's value.
|
Collection<DependencyFacade> |
getSourceDependencies()
Gets the dependencies for which this model element is the source.
|
StateMachineFacade |
getStateMachineContext()
If this model element is the context of an activity graph, this represents that activity
graph.
|
Collection<String> |
getStereotypeNames()
The collection of ALL stereotype names for this model element.
|
Collection<StereotypeFacade> |
getStereotypes()
Gets all stereotypes for this model element.
|
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 |
getTimeFormatter(JSFParameter ownerParameter)
Gets the name of the time formatter (if this parameter represents a time).
|
ClassifierFacade |
getType()
The classifier owning this attribute.
|
int |
getUpper()
the upper value for the multiplicity (will be -1 for *)
-only applicable for UML2
|
String |
getValidationName() |
Object |
getValidationOwner() |
Collection |
getValidatorArgs(String validatorType)
Gets the arguments for this parameter's validators.
|
Collection |
getValidatorTypes()
All validator types for this attribute.
|
Collection |
getValidatorVars(JSFParameter ownerParameter)
Gets the validator args for this attribute
|
String |
getValidWhen()
The validator's 'validwhen' value, this is useful when the validation of a parameter depends
on the validation of others.
|
String |
getValueListDummyValue()
The dummy value for a value list.
|
String |
getValueListName(ParameterFacade ownerParameter)
Gets the name of the value list for this parameter; this list stores the possible values that
this attribute may be (typically used for the values of a drop-down select list).
|
String |
getVisibility()
The visibility (i.e.
|
protected abstract String |
handleGetBackingListName(ParameterFacade ownerParameter)
Method to be implemented in descendants
Gets backing list name for this attribute.
|
protected abstract String |
handleGetBackingValueName(ParameterFacade ownerParameter)
Method to be implemented in descendants
Constructs and returns the backing value name given the 'ownerParameter'.
|
protected abstract String |
handleGetDateFormatter(JSFParameter ownerParameter)
Method to be implemented in descendants
Gets the name of the date formatter for this attribute by constructing the name from the
'ownerParameter' (if this attribute represents a date).
|
protected abstract String |
handleGetDummyValue() |
protected abstract String |
handleGetFormat() |
protected abstract String |
handleGetFormPropertyId(ParameterFacade ownerParameter)
Method to be implemented in descendants
Gets the unique id of this attribute on the form.
|
protected abstract String |
handleGetFormPropertyName(ParameterFacade ownerParameter)
Method to be implemented in descendants
Retrieves the name of the form property for this attribute by taking the name of the owner
property.
|
protected abstract String |
handleGetInputTableIdentifierColumns() |
protected abstract String |
handleGetLabelListName(ParameterFacade ownerParameter)
Method to be implemented in descendants
Gets the name of the label list for this parameter.
|
protected abstract String |
handleGetMaxLength() |
protected abstract String |
handleGetMessageKey() |
protected abstract String |
handleGetMessageValue() |
protected abstract String |
handleGetTimeFormatter(JSFParameter ownerParameter)
Method to be implemented in descendants
Gets the name of the time formatter (if this parameter represents a time).
|
protected abstract Collection |
handleGetValidatorArgs(String validatorType)
Method to be implemented in descendants
Gets the arguments for this parameter's validators.
|
protected abstract Collection |
handleGetValidatorTypes() |
protected abstract Collection |
handleGetValidatorVars(JSFParameter ownerParameter)
Method to be implemented in descendants
Gets the validator args for this attribute
|
protected abstract String |
handleGetValidWhen() |
protected abstract String |
handleGetValueListDummyValue() |
protected abstract String |
handleGetValueListName(ParameterFacade ownerParameter)
Method to be implemented in descendants
Gets the name of the value list for this parameter; this list stores the possible values that
this attribute may be (typically used for the values of a drop-down select list).
|
protected abstract boolean |
handleIsBackingValueRequired(FrontEndParameter ownerParameter)
Method to be implemented in descendants
Indicates whether or not the backing value is required for this attribute (depending on the
'ownerParameter').
|
protected abstract boolean |
handleIsEqualValidator() |
protected abstract boolean |
handleIsInputCheckbox() |
protected abstract boolean |
handleIsInputFile() |
protected abstract boolean |
handleIsInputHidden() |
protected abstract boolean |
handleIsInputMultibox() |
protected abstract boolean |
handleIsInputRadio() |
protected abstract boolean |
handleIsInputSecret() |
protected abstract boolean |
handleIsInputSelect() |
protected abstract boolean |
handleIsInputTable() |
protected abstract boolean |
handleIsInputText() |
protected abstract boolean |
handleIsInputTextarea() |
protected abstract boolean |
handleIsInputTypePresent() |
protected abstract boolean |
handleIsPlaintext() |
protected abstract boolean |
handleIsSelectable(FrontEndParameter ownerParameter)
Method to be implemented in descendants
Indicates whether or not this attribute is selectable according to its 'ownerParameter'.
|
protected abstract boolean |
handleIsStrictDateFormat() |
protected abstract boolean |
handleIsValidationRequired() |
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 |
isAddOnly()
True if this attribute can only be set.
|
boolean |
isAttributeFacadeMetaType() |
boolean |
isBackingValueRequired(FrontEndParameter ownerParameter)
Indicates whether or not the backing value is required for this attribute (depending on the
'ownerParameter').
|
boolean |
isBindingDependenciesPresent()
True if there are target dependencies from this element that are instances of BindingFacade.
|
boolean |
isChangeable()
True if this attribute can be modified.
|
boolean |
isConstraintsPresent()
Indicates if any constraints are present on this model element.
|
boolean |
isDefaultValuePresent()
Indicates if the default value is present.
|
boolean |
isDerived()
If the attribute is derived (its value is computed).
|
boolean |
isDocumentationPresent()
Indicates if any documentation is present on this model element.
|
boolean |
isEnumerationLiteral()
True if this attribute is owned by an enumeration.
|
boolean |
isEnumerationLiteralParametersExist()
Returns true if enumeration literal parameters exist (defined by tagged value) for the
literal.
|
boolean |
isEnumerationMember()
True if this attribute is owned by an enumeration but is defined as a member variable (NOT a
literal).
|
boolean |
isEqualValidator()
Indicates whether or not this parameter uses the equal validator.
|
boolean |
isInputCheckbox()
Indicates if this parameter represents a checkbox widget.
|
boolean |
isInputFile()
Indicates whether or not this is a file input type.
|
boolean |
isInputHidden()
Indicates whether or not this parameter represents a hidden input widget.
|
boolean |
isInputMultibox()
Indicates whether or not this type represents an input multibox.
|
boolean |
isInputRadio()
Indicates whether or not this parameter should be rendered as an input radio widget.
|
boolean |
isInputSecret()
Indicates whether or not this parameter represents an input "secret" widget (i.e.
|
boolean |
isInputSelect()
Indicates whether or not this parameter represents an input select widget.
|
boolean |
isInputTable()
Indicates whether or not this is an table input type.
|
boolean |
isInputText()
Indicates whether or not this parameter should be rendered as a text input widget.
|
boolean |
isInputTextarea()
Indicates if this parameter represents as an input text area widget.
|
boolean |
isInputTypePresent()
Indicates whether or not there is an input type defined for this attribute.
|
boolean |
isJSFAttributeMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
boolean |
isLeaf()
IsLeaf property in the operation.
|
boolean |
isMany()
Whether or not this attribute has a multiplicity greater than 1.
|
boolean |
isModelElementFacadeMetaType() |
boolean |
isOrdered()
Indicates whether or not the attributes are ordered (if multiplicity is greater than 1).
|
boolean |
isPlaintext()
Indicates whether or not this attribute's value should be rendered as plain text (not as a
widget).
|
boolean |
isReadOnly()
Whether or not this attribute can be modified.
|
boolean |
isRequired()
Whether or not the multiplicity of this attribute is 1.
|
boolean |
isReservedWord()
True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript.
|
boolean |
isSelectable(FrontEndParameter ownerParameter)
Indicates whether or not this attribute is selectable according to its 'ownerParameter'.
|
boolean |
isStatic()
Indicates if this attribute is 'static', meaning it has a classifier scope.
|
boolean |
isStrictDateFormat()
Indicates where or not the date format is to be strictly respected.
|
boolean |
isTemplateParametersPresent()
True is there are template parameters on this model element.
|
boolean |
isUnique()
If the attribute is unique within the Collection type.
|
boolean |
isValidationRequired()
Indicates whether or not this attribute requires some kind of validation (the collection of
validator types is not empty).
|
boolean |
isValidIdentifierName()
True if this element name is a valid identifier name in Java, C#, ANSI or ISO C, C++,
JavaScript.
|
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 JSFAttributeLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class MetafacadeBase
context
- MetafacadeBase.resetMetafacadeContext(String context)
public boolean isJSFAttributeMetaType()
JSFAttribute
isJSFAttributeMetaType
in interface JSFAttribute
JSFAttribute
protected abstract String handleGetMessageKey()
JSFAttribute.getMessageKey()
public final String getMessageKey()
getMessageKey
in interface JSFAttribute
protected abstract String handleGetMessageValue()
JSFAttribute.getMessageValue()
public final String getMessageValue()
getMessageValue
in interface JSFAttribute
protected abstract String handleGetDummyValue()
JSFAttribute.getDummyValue()
public final String getDummyValue()
getDummyValue
in interface JSFAttribute
protected abstract String handleGetFormat()
JSFAttribute.getFormat()
public final String getFormat()
getFormat
in interface JSFAttribute
protected abstract boolean handleIsInputTextarea()
JSFAttribute.isInputTextarea()
public final boolean isInputTextarea()
isInputTextarea
in interface JSFAttribute
protected abstract boolean handleIsInputText()
JSFAttribute.isInputText()
public final boolean isInputText()
isInputText
in interface JSFAttribute
protected abstract boolean handleIsInputSecret()
JSFAttribute.isInputSecret()
public final boolean isInputSecret()
isInputSecret
in interface JSFAttribute
protected abstract boolean handleIsInputSelect()
JSFAttribute.isInputSelect()
public final boolean isInputSelect()
isInputSelect
in interface JSFAttribute
protected abstract boolean handleIsInputRadio()
JSFAttribute.isInputRadio()
public final boolean isInputRadio()
isInputRadio
in interface JSFAttribute
protected abstract boolean handleIsInputMultibox()
JSFAttribute.isInputMultibox()
public final boolean isInputMultibox()
isInputMultibox
in interface JSFAttribute
protected abstract boolean handleIsInputHidden()
JSFAttribute.isInputHidden()
public final boolean isInputHidden()
isInputHidden
in interface JSFAttribute
protected abstract boolean handleIsInputFile()
JSFAttribute.isInputFile()
public final boolean isInputFile()
isInputFile
in interface JSFAttribute
protected abstract boolean handleIsInputCheckbox()
JSFAttribute.isInputCheckbox()
public final boolean isInputCheckbox()
isInputCheckbox
in interface JSFAttribute
protected abstract String handleGetValueListDummyValue()
JSFAttribute.getValueListDummyValue()
public final String getValueListDummyValue()
getValueListDummyValue
in interface JSFAttribute
protected abstract String handleGetValidWhen()
JSFAttribute.getValidWhen()
public final String getValidWhen()
getValidWhen
in interface JSFAttribute
protected abstract Collection handleGetValidatorTypes()
JSFAttribute.getValidatorTypes()
public final Collection getValidatorTypes()
getValidatorTypes
in interface JSFAttribute
protected abstract boolean handleIsValidationRequired()
JSFAttribute.isValidationRequired()
public final boolean isValidationRequired()
isValidationRequired
in interface JSFAttribute
protected abstract boolean handleIsStrictDateFormat()
JSFAttribute.isStrictDateFormat()
public final boolean isStrictDateFormat()
isStrictDateFormat
in interface JSFAttribute
protected abstract boolean handleIsEqualValidator()
JSFAttribute.isEqualValidator()
public final boolean isEqualValidator()
isEqualValidator
in interface JSFAttribute
protected abstract boolean handleIsInputTable()
JSFAttribute.isInputTable()
public final boolean isInputTable()
isInputTable
in interface JSFAttribute
protected abstract boolean handleIsInputTypePresent()
JSFAttribute.isInputTypePresent()
public final boolean isInputTypePresent()
isInputTypePresent
in interface JSFAttribute
protected abstract boolean handleIsPlaintext()
JSFAttribute.isPlaintext()
public final boolean isPlaintext()
isPlaintext
in interface JSFAttribute
protected abstract String handleGetInputTableIdentifierColumns()
JSFAttribute.getInputTableIdentifierColumns()
public final String getInputTableIdentifierColumns()
getInputTableIdentifierColumns
in interface JSFAttribute
protected abstract String handleGetMaxLength()
JSFAttribute.getMaxLength()
public final String getMaxLength()
getMaxLength
in interface JSFAttribute
protected abstract String handleGetFormPropertyName(ParameterFacade ownerParameter)
ownerParameter
- public String getFormPropertyName(ParameterFacade ownerParameter)
getFormPropertyName
in interface JSFAttribute
ownerParameter
- ParameterFacade
The parent that is the owner of this parameter.protected abstract String handleGetFormPropertyId(ParameterFacade ownerParameter)
ownerParameter
- public String getFormPropertyId(ParameterFacade ownerParameter)
getFormPropertyId
in interface JSFAttribute
ownerParameter
- ParameterFacade
The parameter that is the owner of this attribute.protected abstract String handleGetBackingListName(ParameterFacade ownerParameter)
ownerParameter
- public String getBackingListName(ParameterFacade ownerParameter)
getBackingListName
in interface JSFAttribute
ownerParameter
- ParameterFacade
The parameter that is the owner of this attribute.protected abstract String handleGetLabelListName(ParameterFacade ownerParameter)
ownerParameter
- public String getLabelListName(ParameterFacade ownerParameter)
getLabelListName
in interface JSFAttribute
ownerParameter
- ParameterFacade
The parameter that is the owner of this attribute.protected abstract String handleGetValueListName(ParameterFacade ownerParameter)
ownerParameter
- public String getValueListName(ParameterFacade ownerParameter)
getValueListName
in interface JSFAttribute
ownerParameter
- ParameterFacade
The parameter that is the owner of this attribute.protected abstract boolean handleIsSelectable(FrontEndParameter ownerParameter)
ownerParameter
- public boolean isSelectable(FrontEndParameter ownerParameter)
isSelectable
in interface JSFAttribute
ownerParameter
- FrontEndParameter
The parameter that 'owns' this attribute.protected abstract Collection handleGetValidatorArgs(String validatorType)
validatorType
- public Collection getValidatorArgs(String validatorType)
getValidatorArgs
in interface JSFAttribute
validatorType
- String
The type of validator.protected abstract String handleGetDateFormatter(JSFParameter ownerParameter)
ownerParameter
- public String getDateFormatter(JSFParameter ownerParameter)
getDateFormatter
in interface JSFAttribute
ownerParameter
- JSFParameter
The parameter that is the 'owner' of this attribute.protected abstract String handleGetTimeFormatter(JSFParameter ownerParameter)
ownerParameter
- public String getTimeFormatter(JSFParameter ownerParameter)
getTimeFormatter
in interface JSFAttribute
ownerParameter
- JSFParameter
The parameter that is the 'owner' of this attribute.protected abstract String handleGetBackingValueName(ParameterFacade ownerParameter)
ownerParameter
- public String getBackingValueName(ParameterFacade ownerParameter)
getBackingValueName
in interface JSFAttribute
ownerParameter
- ParameterFacade
The parameter that is the "owner" of this attribute (i.e. the parameter's type contains this
attribute).protected abstract boolean handleIsBackingValueRequired(FrontEndParameter ownerParameter)
ownerParameter
- public boolean isBackingValueRequired(FrontEndParameter ownerParameter)
isBackingValueRequired
in interface JSFAttribute
ownerParameter
- FrontEndParameter
The 'owner' of this attribute (i.e. the attrubte who's type has this attribute).protected abstract Collection handleGetValidatorVars(JSFParameter ownerParameter)
ownerParameter
- public Collection getValidatorVars(JSFParameter ownerParameter)
getValidatorVars
in interface JSFAttribute
ownerParameter
- JSFParameter
TODO: Model Documentation for
org.andromda.cartridges.jsf2.metafacades.JSFAttribute.getValidatorVars(ownerParameter)public boolean isAttributeFacadeMetaType()
isAttributeFacadeMetaType
in interface AttributeFacade
AttributeFacade
public boolean isModelElementFacadeMetaType()
isModelElementFacadeMetaType
in interface ModelElementFacade
ModelElementFacade
public Object findTaggedValue(String name, boolean follow)
findTaggedValue
in interface AttributeFacade
AttributeFacade.findTaggedValue(String name, boolean follow)
public String getDefaultValue()
getDefaultValue
in interface AttributeFacade
AttributeFacade.getDefaultValue()
public EnumerationFacade getEnumeration()
getEnumeration
in interface AttributeFacade
AttributeFacade.getEnumeration()
public String getEnumerationLiteralParameters()
getEnumerationLiteralParameters
in interface AttributeFacade
AttributeFacade.getEnumerationLiteralParameters()
public String getEnumerationValue()
getEnumerationValue
in interface AttributeFacade
AttributeFacade.getEnumerationValue()
public String getGetterName()
getGetterName
in interface AttributeFacade
AttributeFacade.getGetterName()
public String getGetterSetterTypeName()
getGetterSetterTypeName
in interface AttributeFacade
AttributeFacade.getGetterSetterTypeName()
public int getLower()
getLower
in interface AttributeFacade
AttributeFacade.getLower()
public ClassifierFacade getOwner()
getOwner
in interface AttributeFacade
AttributeFacade.getOwner()
public String getSetterName()
getSetterName
in interface AttributeFacade
AttributeFacade.getSetterName()
public ClassifierFacade getType()
getType
in interface AttributeFacade
AttributeFacade.getType()
public int getUpper()
getUpper
in interface AttributeFacade
AttributeFacade.getUpper()
public boolean isAddOnly()
isAddOnly
in interface AttributeFacade
AttributeFacade.isAddOnly()
public boolean isChangeable()
isChangeable
in interface AttributeFacade
AttributeFacade.isChangeable()
public boolean isDefaultValuePresent()
isDefaultValuePresent
in interface AttributeFacade
AttributeFacade.isDefaultValuePresent()
public boolean isDerived()
isDerived
in interface AttributeFacade
AttributeFacade.isDerived()
public boolean isEnumerationLiteral()
isEnumerationLiteral
in interface AttributeFacade
AttributeFacade.isEnumerationLiteral()
public boolean isEnumerationLiteralParametersExist()
isEnumerationLiteralParametersExist
in interface AttributeFacade
AttributeFacade.isEnumerationLiteralParametersExist()
public boolean isEnumerationMember()
isEnumerationMember
in interface AttributeFacade
AttributeFacade.isEnumerationMember()
public boolean isLeaf()
isLeaf
in interface AttributeFacade
AttributeFacade.isLeaf()
public boolean isMany()
isMany
in interface AttributeFacade
AttributeFacade.isMany()
public boolean isOrdered()
isOrdered
in interface AttributeFacade
AttributeFacade.isOrdered()
public boolean isReadOnly()
isReadOnly
in interface AttributeFacade
AttributeFacade.isReadOnly()
public boolean isRequired()
isRequired
in interface AttributeFacade
AttributeFacade.isRequired()
public boolean isStatic()
isStatic
in interface AttributeFacade
AttributeFacade.isStatic()
public boolean isUnique()
isUnique
in interface AttributeFacade
AttributeFacade.isUnique()
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.