BusinessDomainDsl
Interface Property

All Superinterfaces:
org.eclipse.emf.ecore.EObject, ModelElement, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
BlobBinaryProperty, BlobTextProperty, BoolProperty, DateTimeProperty, DecimalProperty, EnumerationProperty, IntegerProperty, StringProperty
All Known Implementing Classes:
BlobBinaryPropertyImpl, BlobTextPropertyImpl, BoolPropertyImpl, DateTimePropertyImpl, DecimalPropertyImpl, EnumerationPropertyImpl, IntegerPropertyImpl, PropertyImpl, StringPropertyImpl

public interface Property
extends ModelElement

A representation of the model object 'Property'.

The following features are supported:

See Also:
BusinessDomainDslPackage.getProperty()

Method Summary
 java.lang.String getDataType()
          Returns the value of the 'Data Type' attribute.
 AbstractType getOwningType()
          Returns the value of the 'Owning Type' container reference.
 PersistencyMode getPersistency()
          Returns the value of the 'Persistency' attribute.
 boolean isDerived()
          Returns the value of the 'Derived' attribute.
 boolean isHasDefault()
          Returns the value of the 'Has Default' attribute.
 boolean isNullable()
          Returns the value of the 'Nullable' attribute.
 boolean isWritable()
          Returns the value of the 'Writable' attribute.
 void setDataType(java.lang.String value)
          Sets the value of the 'Data Type' attribute.
 void setDerived(boolean value)
          Sets the value of the 'Derived' attribute.
 void setHasDefault(boolean value)
          Sets the value of the 'Has Default' attribute.
 void setNullable(boolean value)
          Sets the value of the 'Nullable' attribute.
 void setOwningType(AbstractType value)
          Sets the value of the 'Owning Type' container reference.
 void setPersistency(PersistencyMode value)
          Sets the value of the 'Persistency' attribute.
 void setWritable(boolean value)
          Sets the value of the 'Writable' attribute.
 
Methods inherited from interface BusinessDomainDsl.ModelElement
getDescription, getName, setDescription, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getDataType

java.lang.String getDataType()
Returns the value of the 'Data Type' attribute.

If the meaning of the 'Data Type' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Data Type' attribute.
See Also:
setDataType(String), BusinessDomainDslPackage.getProperty_DataType()

setDataType

void setDataType(java.lang.String value)
Sets the value of the 'Data Type' attribute.

Parameters:
value - the new value of the 'Data Type' attribute.
See Also:
getDataType()

isNullable

boolean isNullable()
Returns the value of the 'Nullable' attribute.

If the meaning of the 'Nullable' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Nullable' attribute.
See Also:
setNullable(boolean), BusinessDomainDslPackage.getProperty_Nullable()

setNullable

void setNullable(boolean value)
Sets the value of the 'Nullable' attribute.

Parameters:
value - the new value of the 'Nullable' attribute.
See Also:
isNullable()

isDerived

boolean isDerived()
Returns the value of the 'Derived' attribute. The default value is "false".

If the meaning of the 'Derived' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Derived' attribute.
See Also:
setDerived(boolean), BusinessDomainDslPackage.getProperty_Derived()

setDerived

void setDerived(boolean value)
Sets the value of the 'Derived' attribute.

Parameters:
value - the new value of the 'Derived' attribute.
See Also:
isDerived()

isWritable

boolean isWritable()
Returns the value of the 'Writable' attribute. The default value is "false".

If the meaning of the 'Writable' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Writable' attribute.
See Also:
setWritable(boolean), BusinessDomainDslPackage.getProperty_Writable()

setWritable

void setWritable(boolean value)
Sets the value of the 'Writable' attribute.

Parameters:
value - the new value of the 'Writable' attribute.
See Also:
isWritable()

getPersistency

PersistencyMode getPersistency()
Returns the value of the 'Persistency' attribute. The default value is "ReadWrite". The literals are from the enumeration PersistencyMode.

If the meaning of the 'Persistency' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Persistency' attribute.
See Also:
PersistencyMode, setPersistency(PersistencyMode), BusinessDomainDslPackage.getProperty_Persistency()

setPersistency

void setPersistency(PersistencyMode value)
Sets the value of the 'Persistency' attribute.

Parameters:
value - the new value of the 'Persistency' attribute.
See Also:
PersistencyMode, getPersistency()

isHasDefault

boolean isHasDefault()
Returns the value of the 'Has Default' attribute. The default value is "false".

If the meaning of the 'Has Default' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Has Default' attribute.
See Also:
setHasDefault(boolean), BusinessDomainDslPackage.getProperty_HasDefault()

setHasDefault

void setHasDefault(boolean value)
Sets the value of the 'Has Default' attribute.

Parameters:
value - the new value of the 'Has Default' attribute.
See Also:
isHasDefault()

getOwningType

AbstractType getOwningType()
Returns the value of the 'Owning Type' container reference. It is bidirectional and its opposite is 'Properties'.

If the meaning of the 'Owning Type' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Owning Type' container reference.
See Also:
setOwningType(AbstractType), BusinessDomainDslPackage.getProperty_OwningType(), AbstractType.getProperties()

setOwningType

void setOwningType(AbstractType value)
Sets the value of the 'Owning Type' container reference.

Parameters:
value - the new value of the 'Owning Type' container reference.
See Also:
getOwningType()


Copyright © 2010 Mod4j. All Rights Reserved.