Interface Field
-
- All Superinterfaces:
Comparable<Object>
,Element
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,IdentifiedElement
,MDWEObject
,MDWObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,com.sodius.mdw.corext.model.emf.OnDemandEObject
,PositionElement
public interface Field extends PositionElement
A representation of the model object 'Field'.The following features are supported:
- See Also:
IntegrityPackage.getField()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MDWEList<AllowedType>
getAllowedTypes()
Returns the value of the 'Allowed Types' containment reference list.MDWEList<Type>
getAllowedTypesFrom(Type type)
Returns the list of types that are allowed from the specified source type for this field.Type
getBackingType()
Returns the value of the 'Backing Type' reference.Field
getDefaultAttachmentField()
Returns the value of the 'Default Attachment Field' reference.FieldValue
getDefaultValue()
Returns the value of the 'Default Value' containment reference.String
getDisplayName()
Returns the value of the 'Display Name' attribute.FieldValue
getMax()
Returns the value of the 'Max' containment reference.int
getMaxLength()
Returns the value of the 'Max Length' attribute.FieldValue
getMin()
Returns the value of the 'Min' containment reference.Field
getPairedField()
Returns the value of the 'Paired Field' reference.MDWEList<Pick>
getPicks()
Returns the value of the 'Picks' containment reference list.Field
getReference()
Returns the value of the 'Reference' reference.String
getType()
Returns the value of the 'Type' attribute.boolean
isMultiValued()
Returns the value of the 'Is Multi Valued' attribute.boolean
isReadOnly()
Returns the value of the 'Is Read Only' attribute.boolean
isRichContent()
Returns the value of the 'Is Rich Content' attribute.boolean
isShowDateTime()
Returns the value of the 'Is Show Date Time' attribute.void
setBackingType(Type value)
Sets the value of the 'Backing Type
' reference.void
setDefaultAttachmentField(Field value)
Sets the value of the 'Default Attachment Field
' reference.void
setDefaultValue(FieldValue value)
Sets the value of the 'Default Value
' containment reference.void
setDisplayName(String value)
Sets the value of the 'Display Name
' attribute.void
setIsMultiValued(boolean value)
Sets the value of the 'Is Multi Valued
' attribute.void
setIsReadOnly(boolean value)
Sets the value of the 'Is Read Only
' attribute.void
setIsRichContent(boolean value)
Sets the value of the 'Is Rich Content
' attribute.void
setIsShowDateTime(boolean value)
Sets the value of the 'Is Show Date Time
' attribute.void
setMax(FieldValue value)
Sets the value of the 'Max
' containment reference.void
setMaxLength(int value)
Sets the value of the 'Max Length
' attribute.void
setMin(FieldValue value)
Sets the value of the 'Min
' containment reference.void
setPairedField(Field value)
Sets the value of the 'Paired Field
' reference.void
setReference(Field value)
Sets the value of the 'Reference
' reference.void
setType(String value)
Sets the value of the 'Type
' attribute.-
Methods inherited from interface com.sodius.mdw.metamodel.integrity.Element
eUninitialize
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.sodius.mdw.metamodel.integrity.IdentifiedElement
getId, setId
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface com.sodius.mdw.metamodel.integrity.NamedElement
getDescription, getName, setDescription, setName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.integrity.PositionElement
getPosition, setPosition
-
-
-
-
Method Detail
-
getDisplayName
String getDisplayName()
Returns the value of the 'Display Name' attribute. The default value is""
.- Returns:
- the value of the 'Display Name' attribute.
- See Also:
setDisplayName(String)
,IntegrityPackage.getField_DisplayName()
-
setDisplayName
void setDisplayName(String value)
Sets the value of the 'Display Name
' attribute.- Parameters:
value
- the new value of the 'Display Name' attribute.- See Also:
getDisplayName()
-
getType
String getType()
Returns the value of the 'Type' attribute. The default value is""
.- Returns:
- the value of the 'Type' attribute.
- See Also:
setType(String)
,IntegrityPackage.getField_Type()
-
setType
void setType(String value)
Sets the value of the 'Type
' attribute.- Parameters:
value
- the new value of the 'Type' attribute.- See Also:
getType()
-
isMultiValued
boolean isMultiValued()
Returns the value of the 'Is Multi Valued' attribute.- Returns:
- the value of the 'Is Multi Valued' attribute.
- See Also:
setIsMultiValued(boolean)
,IntegrityPackage.getField_IsMultiValued()
-
setIsMultiValued
void setIsMultiValued(boolean value)
Sets the value of the 'Is Multi Valued
' attribute.- Parameters:
value
- the new value of the 'Is Multi Valued' attribute.- See Also:
isMultiValued()
-
getDefaultValue
FieldValue getDefaultValue()
Returns the value of the 'Default Value' containment reference.- Returns:
- the value of the 'Default Value' containment reference.
- See Also:
setDefaultValue(FieldValue)
,IntegrityPackage.getField_DefaultValue()
-
setDefaultValue
void setDefaultValue(FieldValue value)
Sets the value of the 'Default Value
' containment reference.- Parameters:
value
- the new value of the 'Default Value' containment reference.- See Also:
getDefaultValue()
-
isRichContent
boolean isRichContent()
Returns the value of the 'Is Rich Content' attribute.- Returns:
- the value of the 'Is Rich Content' attribute.
- See Also:
setIsRichContent(boolean)
,IntegrityPackage.getField_IsRichContent()
-
setIsRichContent
void setIsRichContent(boolean value)
Sets the value of the 'Is Rich Content
' attribute.- Parameters:
value
- the new value of the 'Is Rich Content' attribute.- See Also:
isRichContent()
-
getPicks
MDWEList<Pick> getPicks()
Returns the value of the 'Picks' containment reference list. The list contents are of typePick
.- Returns:
- the value of the 'Picks' containment reference list.
- See Also:
IntegrityPackage.getField_Picks()
-
getMaxLength
int getMaxLength()
Returns the value of the 'Max Length' attribute.- Returns:
- the value of the 'Max Length' attribute.
- See Also:
setMaxLength(int)
,IntegrityPackage.getField_MaxLength()
-
setMaxLength
void setMaxLength(int value)
Sets the value of the 'Max Length
' attribute.- Parameters:
value
- the new value of the 'Max Length' attribute.- See Also:
getMaxLength()
-
getReference
Field getReference()
Returns the value of the 'Reference' reference.- Returns:
- the value of the 'Reference' reference.
- See Also:
setReference(Field)
,IntegrityPackage.getField_Reference()
-
setReference
void setReference(Field value)
Sets the value of the 'Reference
' reference.- Parameters:
value
- the new value of the 'Reference' reference.- See Also:
getReference()
-
getBackingType
Type getBackingType()
Returns the value of the 'Backing Type' reference.- Returns:
- the value of the 'Backing Type' reference.
- See Also:
setBackingType(Type)
,IntegrityPackage.getField_BackingType()
-
setBackingType
void setBackingType(Type value)
Sets the value of the 'Backing Type
' reference.- Parameters:
value
- the new value of the 'Backing Type' reference.- See Also:
getBackingType()
-
isShowDateTime
boolean isShowDateTime()
Returns the value of the 'Is Show Date Time' attribute.- Returns:
- the value of the 'Is Show Date Time' attribute.
- See Also:
setIsShowDateTime(boolean)
,IntegrityPackage.getField_IsShowDateTime()
-
setIsShowDateTime
void setIsShowDateTime(boolean value)
Sets the value of the 'Is Show Date Time
' attribute.- Parameters:
value
- the new value of the 'Is Show Date Time' attribute.- See Also:
isShowDateTime()
-
getMin
FieldValue getMin()
Returns the value of the 'Min' containment reference.- Returns:
- the value of the 'Min' containment reference.
- See Also:
setMin(FieldValue)
,IntegrityPackage.getField_Min()
-
setMin
void setMin(FieldValue value)
Sets the value of the 'Min
' containment reference.- Parameters:
value
- the new value of the 'Min' containment reference.- See Also:
getMin()
-
getMax
FieldValue getMax()
Returns the value of the 'Max' containment reference.- Returns:
- the value of the 'Max' containment reference.
- See Also:
setMax(FieldValue)
,IntegrityPackage.getField_Max()
-
setMax
void setMax(FieldValue value)
Sets the value of the 'Max
' containment reference.- Parameters:
value
- the new value of the 'Max' containment reference.- See Also:
getMax()
-
isReadOnly
boolean isReadOnly()
Returns the value of the 'Is Read Only' attribute.- Returns:
- the value of the 'Is Read Only' attribute.
- See Also:
setIsReadOnly(boolean)
,IntegrityPackage.getField_IsReadOnly()
-
setIsReadOnly
void setIsReadOnly(boolean value)
Sets the value of the 'Is Read Only
' attribute.- Parameters:
value
- the new value of the 'Is Read Only' attribute.- See Also:
isReadOnly()
-
getAllowedTypes
MDWEList<AllowedType> getAllowedTypes()
Returns the value of the 'Allowed Types' containment reference list. The list contents are of typeAllowedType
.- Returns:
- the value of the 'Allowed Types' containment reference list.
- Since:
- 1.9.0
- See Also:
IntegrityPackage.getField_AllowedTypes()
-
getAllowedTypesFrom
MDWEList<Type> getAllowedTypesFrom(Type type)
Returns the list of types that are allowed from the specified source type for this field.- Parameters:
type
- the source type- Returns:
- the list of types that are allowed from the specified source type for this field.
- Since:
- 1.9.0
-
getPairedField
Field getPairedField()
Returns the value of the 'Paired Field' reference.- Returns:
- the value of the 'Paired Field' reference.
- Since:
- 1.9.0
- See Also:
setPairedField(Field)
,IntegrityPackage.getField_PairedField()
-
setPairedField
void setPairedField(Field value)
Sets the value of the 'Paired Field
' reference.- Parameters:
value
- the new value of the 'Paired Field' reference.- Since:
- 1.9.0
- See Also:
getPairedField()
-
getDefaultAttachmentField
Field getDefaultAttachmentField()
Returns the value of the 'Default Attachment Field' reference.- Returns:
- the value of the 'Default Attachment Field' reference.
- See Also:
setDefaultAttachmentField(Field)
,IntegrityPackage.getField_DefaultAttachmentField()
-
setDefaultAttachmentField
void setDefaultAttachmentField(Field value)
Sets the value of the 'Default Attachment Field
' reference.- Parameters:
value
- the new value of the 'Default Attachment Field' reference.- See Also:
getDefaultAttachmentField()
-
-