Interface DomainObject
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
,SimpleDomainObject
- All Known Subinterfaces:
CommandEvent
,DomainEvent
,Entity
,Event
,ValueObject
public interface DomainObject extends SimpleDomainObject
A representation of the model object 'Domain Object'.The following features are supported:
- See Also:
TacticdslPackage.getDomainObject()
- Model:
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.EList<Attribute>
getAttributes()
Returns the value of the 'Attributes' containment reference list.DomainObject
getBelongsTo()
Returns the value of the 'Belongs To' reference.java.lang.String
getComment()
Returns the value of the 'Comment' attribute.java.lang.String
getDatabaseTable()
Returns the value of the 'Database Table' attribute.java.lang.String
getDiscriminatorColumn()
Returns the value of the 'Discriminator Column' attribute.java.lang.String
getDiscriminatorLength()
Returns the value of the 'Discriminator Length' attribute.DiscriminatorType
getDiscriminatorType()
Returns the value of the 'Discriminator Type' attribute.java.lang.String
getDiscriminatorValue()
Returns the value of the 'Discriminator Value' attribute.java.lang.String
getExtendsName()
Returns the value of the 'Extends Name' attribute.InheritanceType
getInheritanceType()
Returns the value of the 'Inheritance Type' attribute.org.eclipse.emf.common.util.EList<DomainObjectOperation>
getOperations()
Returns the value of the 'Operations' containment reference list.org.eclipse.emf.common.util.EList<Reference>
getReferences()
Returns the value of the 'References' containment reference list.Repository
getRepository()
Returns the value of the 'Repository' containment reference.org.eclipse.emf.common.util.EList<Trait>
getTraits()
Returns the value of the 'Traits' reference list.java.lang.String
getValidate()
Returns the value of the 'Validate' attribute.boolean
isAbstract()
Returns the value of the 'Abstract' attribute.boolean
isAggregateRoot()
Returns the value of the 'Aggregate Root' attribute.boolean
isCache()
Returns the value of the 'Cache' attribute.boolean
isGapClass()
Returns the value of the 'Gap Class' attribute.boolean
isNoGapClass()
Returns the value of the 'No Gap Class' attribute.boolean
isScaffold()
Returns the value of the 'Scaffold' attribute.void
setAbstract(boolean value)
Sets the value of the 'Abstract
' attribute.void
setAggregateRoot(boolean value)
Sets the value of the 'Aggregate Root
' attribute.void
setBelongsTo(DomainObject value)
Sets the value of the 'Belongs To
' reference.void
setCache(boolean value)
Sets the value of the 'Cache
' attribute.void
setComment(java.lang.String value)
Sets the value of the 'Comment
' attribute.void
setDatabaseTable(java.lang.String value)
Sets the value of the 'Database Table
' attribute.void
setDiscriminatorColumn(java.lang.String value)
Sets the value of the 'Discriminator Column
' attribute.void
setDiscriminatorLength(java.lang.String value)
Sets the value of the 'Discriminator Length
' attribute.void
setDiscriminatorType(DiscriminatorType value)
Sets the value of the 'Discriminator Type
' attribute.void
setDiscriminatorValue(java.lang.String value)
Sets the value of the 'Discriminator Value
' attribute.void
setExtendsName(java.lang.String value)
Sets the value of the 'Extends Name
' attribute.void
setGapClass(boolean value)
Sets the value of the 'Gap Class
' attribute.void
setInheritanceType(InheritanceType value)
Sets the value of the 'Inheritance Type
' attribute.void
setNoGapClass(boolean value)
Sets the value of the 'No Gap Class
' attribute.void
setRepository(Repository value)
Sets the value of the 'Repository
' containment reference.void
setScaffold(boolean value)
Sets the value of the 'Scaffold
' attribute.void
setValidate(java.lang.String value)
Sets the value of the 'Validate
' attribute.-
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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.contextmapper.tactic.dsl.tacticdsl.SimpleDomainObject
getDoc, getHint, getName, getPackage, setDoc, setHint, setName, setPackage
-
-
-
-
Method Detail
-
getComment
java.lang.String getComment()
Returns the value of the 'Comment' attribute.- Returns:
- the value of the 'Comment' attribute.
- See Also:
setComment(String)
,TacticdslPackage.getDomainObject_Comment()
- Model:
- Generated:
-
setComment
void setComment(java.lang.String value)
Sets the value of the 'Comment
' attribute.- Parameters:
value
- the new value of the 'Comment' attribute.- See Also:
getComment()
- Generated:
-
isAbstract
boolean isAbstract()
Returns the value of the 'Abstract' attribute.- Returns:
- the value of the 'Abstract' attribute.
- See Also:
setAbstract(boolean)
,TacticdslPackage.getDomainObject_Abstract()
- Model:
- Generated:
-
setAbstract
void setAbstract(boolean value)
Sets the value of the 'Abstract
' attribute.- Parameters:
value
- the new value of the 'Abstract' attribute.- See Also:
isAbstract()
- Generated:
-
getExtendsName
java.lang.String getExtendsName()
Returns the value of the 'Extends Name' attribute.- Returns:
- the value of the 'Extends Name' attribute.
- See Also:
setExtendsName(String)
,TacticdslPackage.getDomainObject_ExtendsName()
- Model:
- Generated:
-
setExtendsName
void setExtendsName(java.lang.String value)
Sets the value of the 'Extends Name
' attribute.- Parameters:
value
- the new value of the 'Extends Name' attribute.- See Also:
getExtendsName()
- Generated:
-
getTraits
org.eclipse.emf.common.util.EList<Trait> getTraits()
Returns the value of the 'Traits' reference list. The list contents are of typeTrait
.- Returns:
- the value of the 'Traits' reference list.
- See Also:
TacticdslPackage.getDomainObject_Traits()
- Model:
- Generated:
-
isCache
boolean isCache()
Returns the value of the 'Cache' attribute.- Returns:
- the value of the 'Cache' attribute.
- See Also:
setCache(boolean)
,TacticdslPackage.getDomainObject_Cache()
- Model:
- Generated:
-
setCache
void setCache(boolean value)
Sets the value of the 'Cache
' attribute.- Parameters:
value
- the new value of the 'Cache' attribute.- See Also:
isCache()
- Generated:
-
isGapClass
boolean isGapClass()
Returns the value of the 'Gap Class' attribute.- Returns:
- the value of the 'Gap Class' attribute.
- See Also:
setGapClass(boolean)
,TacticdslPackage.getDomainObject_GapClass()
- Model:
- Generated:
-
setGapClass
void setGapClass(boolean value)
Sets the value of the 'Gap Class
' attribute.- Parameters:
value
- the new value of the 'Gap Class' attribute.- See Also:
isGapClass()
- Generated:
-
isNoGapClass
boolean isNoGapClass()
Returns the value of the 'No Gap Class' attribute.- Returns:
- the value of the 'No Gap Class' attribute.
- See Also:
setNoGapClass(boolean)
,TacticdslPackage.getDomainObject_NoGapClass()
- Model:
- Generated:
-
setNoGapClass
void setNoGapClass(boolean value)
Sets the value of the 'No Gap Class
' attribute.- Parameters:
value
- the new value of the 'No Gap Class' attribute.- See Also:
isNoGapClass()
- Generated:
-
isScaffold
boolean isScaffold()
Returns the value of the 'Scaffold' attribute.- Returns:
- the value of the 'Scaffold' attribute.
- See Also:
setScaffold(boolean)
,TacticdslPackage.getDomainObject_Scaffold()
- Model:
- Generated:
-
setScaffold
void setScaffold(boolean value)
Sets the value of the 'Scaffold
' attribute.- Parameters:
value
- the new value of the 'Scaffold' attribute.- See Also:
isScaffold()
- Generated:
-
getDatabaseTable
java.lang.String getDatabaseTable()
Returns the value of the 'Database Table' attribute.- Returns:
- the value of the 'Database Table' attribute.
- See Also:
setDatabaseTable(String)
,TacticdslPackage.getDomainObject_DatabaseTable()
- Model:
- Generated:
-
setDatabaseTable
void setDatabaseTable(java.lang.String value)
Sets the value of the 'Database Table
' attribute.- Parameters:
value
- the new value of the 'Database Table' attribute.- See Also:
getDatabaseTable()
- Generated:
-
getDiscriminatorValue
java.lang.String getDiscriminatorValue()
Returns the value of the 'Discriminator Value' attribute.- Returns:
- the value of the 'Discriminator Value' attribute.
- See Also:
setDiscriminatorValue(String)
,TacticdslPackage.getDomainObject_DiscriminatorValue()
- Model:
- Generated:
-
setDiscriminatorValue
void setDiscriminatorValue(java.lang.String value)
Sets the value of the 'Discriminator Value
' attribute.- Parameters:
value
- the new value of the 'Discriminator Value' attribute.- See Also:
getDiscriminatorValue()
- Generated:
-
getDiscriminatorColumn
java.lang.String getDiscriminatorColumn()
Returns the value of the 'Discriminator Column' attribute.- Returns:
- the value of the 'Discriminator Column' attribute.
- See Also:
setDiscriminatorColumn(String)
,TacticdslPackage.getDomainObject_DiscriminatorColumn()
- Model:
- Generated:
-
setDiscriminatorColumn
void setDiscriminatorColumn(java.lang.String value)
Sets the value of the 'Discriminator Column
' attribute.- Parameters:
value
- the new value of the 'Discriminator Column' attribute.- See Also:
getDiscriminatorColumn()
- Generated:
-
getDiscriminatorType
DiscriminatorType getDiscriminatorType()
Returns the value of the 'Discriminator Type' attribute. The literals are from the enumerationDiscriminatorType
.- Returns:
- the value of the 'Discriminator Type' attribute.
- See Also:
DiscriminatorType
,setDiscriminatorType(DiscriminatorType)
,TacticdslPackage.getDomainObject_DiscriminatorType()
- Model:
- Generated:
-
setDiscriminatorType
void setDiscriminatorType(DiscriminatorType value)
Sets the value of the 'Discriminator Type
' attribute.- Parameters:
value
- the new value of the 'Discriminator Type' attribute.- See Also:
DiscriminatorType
,getDiscriminatorType()
- Generated:
-
getDiscriminatorLength
java.lang.String getDiscriminatorLength()
Returns the value of the 'Discriminator Length' attribute.- Returns:
- the value of the 'Discriminator Length' attribute.
- See Also:
setDiscriminatorLength(String)
,TacticdslPackage.getDomainObject_DiscriminatorLength()
- Model:
- Generated:
-
setDiscriminatorLength
void setDiscriminatorLength(java.lang.String value)
Sets the value of the 'Discriminator Length
' attribute.- Parameters:
value
- the new value of the 'Discriminator Length' attribute.- See Also:
getDiscriminatorLength()
- Generated:
-
getInheritanceType
InheritanceType getInheritanceType()
Returns the value of the 'Inheritance Type' attribute. The literals are from the enumerationInheritanceType
.- Returns:
- the value of the 'Inheritance Type' attribute.
- See Also:
InheritanceType
,setInheritanceType(InheritanceType)
,TacticdslPackage.getDomainObject_InheritanceType()
- Model:
- Generated:
-
setInheritanceType
void setInheritanceType(InheritanceType value)
Sets the value of the 'Inheritance Type
' attribute.- Parameters:
value
- the new value of the 'Inheritance Type' attribute.- See Also:
InheritanceType
,getInheritanceType()
- Generated:
-
getValidate
java.lang.String getValidate()
Returns the value of the 'Validate' attribute.- Returns:
- the value of the 'Validate' attribute.
- See Also:
setValidate(String)
,TacticdslPackage.getDomainObject_Validate()
- Model:
- Generated:
-
setValidate
void setValidate(java.lang.String value)
Sets the value of the 'Validate
' attribute.- Parameters:
value
- the new value of the 'Validate' attribute.- See Also:
getValidate()
- Generated:
-
isAggregateRoot
boolean isAggregateRoot()
Returns the value of the 'Aggregate Root' attribute.- Returns:
- the value of the 'Aggregate Root' attribute.
- See Also:
setAggregateRoot(boolean)
,TacticdslPackage.getDomainObject_AggregateRoot()
- Model:
- Generated:
-
setAggregateRoot
void setAggregateRoot(boolean value)
Sets the value of the 'Aggregate Root
' attribute.- Parameters:
value
- the new value of the 'Aggregate Root' attribute.- See Also:
isAggregateRoot()
- Generated:
-
getBelongsTo
DomainObject getBelongsTo()
Returns the value of the 'Belongs To' reference.- Returns:
- the value of the 'Belongs To' reference.
- See Also:
setBelongsTo(DomainObject)
,TacticdslPackage.getDomainObject_BelongsTo()
- Model:
- Generated:
-
setBelongsTo
void setBelongsTo(DomainObject value)
Sets the value of the 'Belongs To
' reference.- Parameters:
value
- the new value of the 'Belongs To' reference.- See Also:
getBelongsTo()
- Generated:
-
getAttributes
org.eclipse.emf.common.util.EList<Attribute> getAttributes()
Returns the value of the 'Attributes' containment reference list. The list contents are of typeAttribute
.- Returns:
- the value of the 'Attributes' containment reference list.
- See Also:
TacticdslPackage.getDomainObject_Attributes()
- Model:
- containment="true"
- Generated:
-
getReferences
org.eclipse.emf.common.util.EList<Reference> getReferences()
Returns the value of the 'References' containment reference list. The list contents are of typeReference
.- Returns:
- the value of the 'References' containment reference list.
- See Also:
TacticdslPackage.getDomainObject_References()
- Model:
- containment="true"
- Generated:
-
getOperations
org.eclipse.emf.common.util.EList<DomainObjectOperation> getOperations()
Returns the value of the 'Operations' containment reference list. The list contents are of typeDomainObjectOperation
.- Returns:
- the value of the 'Operations' containment reference list.
- See Also:
TacticdslPackage.getDomainObject_Operations()
- Model:
- containment="true"
- Generated:
-
getRepository
Repository getRepository()
Returns the value of the 'Repository' containment reference.- Returns:
- the value of the 'Repository' containment reference.
- See Also:
setRepository(Repository)
,TacticdslPackage.getDomainObject_Repository()
- Model:
- containment="true"
- Generated:
-
setRepository
void setRepository(Repository value)
Sets the value of the 'Repository
' containment reference.- Parameters:
value
- the new value of the 'Repository' containment reference.- See Also:
getRepository()
- Generated:
-
-