Class DefaultPropertyWrapper
java.lang.Object
org.eclipse.esmf.metamodel.impl.ModelElementImpl
org.eclipse.esmf.metamodel.impl.DefaultProperty
org.eclipse.esmf.metamodel.loader.DefaultPropertyWrapper
- All Implemented Interfaces:
Comparable<ModelElementImpl>,ModelElement,NamedElement,Property
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe Characteristic describing the semantics of the Property.A real world example value.inthashCode()booleanReturns true if the Property is abstractbooleanDefines whether a property is included in the runtime data of an Aspect.booleanDefines whether a property is optional.voidsetProperty(DefaultProperty property) Methods inherited from class org.eclipse.esmf.metamodel.impl.DefaultProperty
accept, toStringMethods 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.ModelElement
as, getMetaModelVersion, isMethods inherited from interface org.eclipse.esmf.metamodel.NamedElement
getAspectModelUrn, getDescription, getDescriptions, getName, getPreferredName, getPreferredNames, getSee, hasSyntheticNameMethods inherited from interface org.eclipse.esmf.metamodel.Property
getDataType, getEffectiveCharacteristic
-
Constructor Details
-
DefaultPropertyWrapper
-
-
Method Details
-
getPayloadName
- Specified by:
getPayloadNamein interfaceProperty- Overrides:
getPayloadNamein classDefaultProperty- Returns:
- the name of the Property used in the runtime payload.
-
getExampleValue
Description copied from class:DefaultPropertyA real world example value.- Specified by:
getExampleValuein interfaceProperty- Overrides:
getExampleValuein classDefaultProperty- Returns:
- the exampleValue.
-
isNotInPayload
public boolean isNotInPayload()Description copied from class:DefaultPropertyDefines whether a property is included in the runtime data of an Aspect.- Specified by:
isNotInPayloadin interfaceProperty- Overrides:
isNotInPayloadin classDefaultProperty- Returns:
- a
booleanwhich determines whether the Property is included in the runtime data of an Aspect. By default Properties are included in the runtime data. - See Also:
-
isOptional
public boolean isOptional()Description copied from class:DefaultPropertyDefines whether a property is optional.- Specified by:
isOptionalin interfaceProperty- Overrides:
isOptionalin classDefaultProperty- Returns:
- the optional.
-
isAbstract
public boolean isAbstract()Description copied from interface:PropertyReturns true if the Property is abstract- Specified by:
isAbstractin interfaceProperty- Overrides:
isAbstractin classDefaultProperty- Returns:
-
getExtends
- Specified by:
getExtendsin interfaceProperty- Overrides:
getExtendsin classDefaultProperty- Returns:
- the Property that is extended by this Property, if present
-
getCharacteristic
Description copied from class:DefaultPropertyThe Characteristic describing the semantics of the Property.- Specified by:
getCharacteristicin interfaceProperty- Overrides:
getCharacteristicin classDefaultProperty- Returns:
- the characteristic.
-
equals
- Overrides:
equalsin classDefaultProperty
-
hashCode
public int hashCode()- Overrides:
hashCodein classDefaultProperty
-
setProperty
-