org.mod4j.dsl.datacontract.mm.DataContractDsl
Interface DtoProperty

All Superinterfaces:
org.eclipse.emf.ecore.EObject, ModelElement, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
DtoAssociationRoleProperty, DtoBooleanProperty, DtoDataProperty, DtoDateTimeProperty, DtoDecimalProperty, DtoEnumerationProperty, DtoIntegerProperty, DtoPropertyReference, DtoStringProperty
All Known Implementing Classes:
DtoAssociationRolePropertyImpl, DtoBooleanPropertyImpl, DtoDataPropertyImpl, DtoDateTimePropertyImpl, DtoDecimalPropertyImpl, DtoEnumerationPropertyImpl, DtoIntegerPropertyImpl, DtoPropertyImpl, DtoPropertyReferenceImpl, DtoStringPropertyImpl

public interface DtoProperty
extends ModelElement

A representation of the model object 'Dto Property'.

The following features are supported:

See Also:
DataContractDslPackage.getDtoProperty()

Method Summary
 BusinessClassDto getBusinessClassDto()
          Returns the value of the 'Business Class Dto' container reference.
 CustomDto getCustomDto()
          Returns the value of the 'Custom Dto' container reference.
 java.lang.String getDataType()
          Returns the value of the 'Data Type' attribute.
 boolean isMandatoryForCreation()
          Returns the value of the 'Mandatory For Creation' attribute.
 boolean isNullable()
          Returns the value of the 'Nullable' attribute.
 boolean isWritable()
          Returns the value of the 'Writable' attribute.
 void setBusinessClassDto(BusinessClassDto value)
          Sets the value of the 'Business Class Dto' container reference.
 void setCustomDto(CustomDto value)
          Sets the value of the 'Custom Dto' container reference.
 void setDataType(java.lang.String value)
          Sets the value of the 'Data Type' attribute.
 void setMandatoryForCreation(boolean value)
          Sets the value of the 'Mandatory For Creation' attribute.
 void setNullable(boolean value)
          Sets the value of the 'Nullable' attribute.
 void setWritable(boolean value)
          Sets the value of the 'Writable' attribute.
 
Methods inherited from interface org.mod4j.dsl.datacontract.mm.DataContractDsl.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), DataContractDslPackage.getDtoProperty_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()

getBusinessClassDto

BusinessClassDto getBusinessClassDto()
Returns the value of the 'Business Class Dto' container reference. It is bidirectional and its opposite is 'Properties'.

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

Returns:
the value of the 'Business Class Dto' container reference.
See Also:
setBusinessClassDto(BusinessClassDto), DataContractDslPackage.getDtoProperty_BusinessClassDto(), BusinessClassDto.getProperties()

setBusinessClassDto

void setBusinessClassDto(BusinessClassDto value)
Sets the value of the 'Business Class Dto' container reference.

Parameters:
value - the new value of the 'Business Class Dto' container reference.
See Also:
getBusinessClassDto()

getCustomDto

CustomDto getCustomDto()
Returns the value of the 'Custom Dto' container reference. It is bidirectional and its opposite is 'Properties'.

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

Returns:
the value of the 'Custom Dto' container reference.
See Also:
setCustomDto(CustomDto), DataContractDslPackage.getDtoProperty_CustomDto(), CustomDto.getProperties()

setCustomDto

void setCustomDto(CustomDto value)
Sets the value of the 'Custom Dto' container reference.

Parameters:
value - the new value of the 'Custom Dto' container reference.
See Also:
getCustomDto()

isMandatoryForCreation

boolean isMandatoryForCreation()
Returns the value of the 'Mandatory For Creation' attribute. The default value is "false".

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

Returns:
the value of the 'Mandatory For Creation' attribute.
See Also:
setMandatoryForCreation(boolean), DataContractDslPackage.getDtoProperty_MandatoryForCreation()

setMandatoryForCreation

void setMandatoryForCreation(boolean value)
Sets the value of the 'Mandatory For Creation' attribute.

Parameters:
value - the new value of the 'Mandatory For Creation' attribute.
See Also:
isMandatoryForCreation()

isNullable

boolean isNullable()
Returns the value of the 'Nullable' attribute. The default value is "true".

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), DataContractDslPackage.getDtoProperty_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()

isWritable

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

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), DataContractDslPackage.getDtoProperty_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()


Copyright © 2009 Mod4j. All Rights Reserved.