Class DefaultStructuredValue
java.lang.Object
org.eclipse.esmf.metamodel.impl.ModelElementImpl
org.eclipse.esmf.metamodel.impl.DefaultCharacteristic
org.eclipse.esmf.characteristic.impl.DefaultStructuredValue
- All Implemented Interfaces:
Comparable<ModelElementImpl>,StructuredValue,Characteristic,ModelElement,NamedElement
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultStructuredValue(MetaModelBaseAttributes metaModelBaseAttributes, Type dataType, String deconstructionRule, List<Object> elements) -
Method Summary
Modifier and TypeMethodDescription<T,C> T accept(AspectVisitor<T, C> visitor, C context) Accepts an Aspect visitorbooleaninthashCode()toString()Methods inherited from class org.eclipse.esmf.metamodel.impl.DefaultCharacteristic
getDataTypeMethods inherited from class org.eclipse.esmf.metamodel.impl.ModelElementImpl
compareTo, getAspectModelUrn, getDescriptions, getMetaModelVersion, getName, getPreferredNames, getSee, hasSyntheticNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.esmf.metamodel.Characteristic
getDataTypeMethods inherited from interface org.eclipse.esmf.metamodel.ModelElement
as, getMetaModelVersion, isMethods inherited from interface org.eclipse.esmf.metamodel.NamedElement
getAspectModelUrn, getDescription, getDescriptions, getName, getPreferredName, getPreferredNames, getSee, hasSyntheticName
-
Constructor Details
-
DefaultStructuredValue
public DefaultStructuredValue(MetaModelBaseAttributes metaModelBaseAttributes, Type dataType, String deconstructionRule, List<Object> elements)
-
-
Method Details
-
getDeconstructionRule
- Specified by:
getDeconstructionRulein interfaceStructuredValue- Returns:
- the regular expression to deconstruct the value into the Properties given in
StructuredValue.getElements().
-
getElements
- Specified by:
getElementsin interfaceStructuredValue- Returns:
- a
Listof elements where each element is either a Property or a String.
-
accept
Accepts an Aspect visitor- Specified by:
acceptin interfaceModelElement- Overrides:
acceptin classDefaultCharacteristic- Type Parameters:
T- The result type of the traversal operationC- The context of the visitor traversal- Parameters:
visitor- The visitor to accept
-
toString
- Overrides:
toStringin classDefaultCharacteristic
-
equals
- Overrides:
equalsin classDefaultCharacteristic
-
hashCode
public int hashCode()- Overrides:
hashCodein classDefaultCharacteristic
-