org.eclipse.ocl.examples.pivot
Interface DataType

All Superinterfaces:
Class, Element, org.eclipse.emf.ecore.EObject, java.lang.Iterable<Class>, MonikeredElement, Nameable, NamedElement, Namespace, org.eclipse.emf.common.notify.Notifier, ParameterableElement, PivotObject, TemplateableElement, Type, Visitable
All Known Subinterfaces:
BagType, ClassifierType, CollectionType, Enumeration, LambdaType, OrderedSetType, PrimitiveType, SequenceType, SetType, TupleType
All Known Implementing Classes:
BagTypeImpl, ClassifierTypeImpl, CollectionTypeImpl, DataTypeImpl, EnumerationImpl, LambdaTypeImpl, OrderedSetTypeImpl, PrimitiveTypeImpl, SequenceTypeImpl, SetTypeImpl, TupleTypeImpl

public interface DataType
extends Class

A representation of the model object 'Data Type'. DataType is an abstract class that acts as a common superclass for different kinds of data types.

The following features are supported:

See Also:
PivotPackage.getDataType()
Generated
Model

Method Summary
 Type getBehavioralType()
          Returns the value of the 'Behavioral Type' reference.
 boolean isSerializable()
          Returns the value of the 'Is Serializable' attribute.
 void setBehavioralType(Type value)
          Sets the value of the 'Behavioral Type' reference.
 void setIsSerializable(boolean value)
          Sets the value of the 'Is Serializable' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Class
createOwnedAttribute, createOwnedOperation, createOwnedOperation, getOwnedAttributes, getOwnedOperations, getSubClasses, getSuperClasses, isAbstract, isInterface, setIsAbstract, setIsInterface
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Type
getInstanceClassName, getPackage, setInstanceClassName, setPackage
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, getUnspecializedElement, isTemplate, parameterableElements, setOwnedTemplateSignature, setUnspecializedElement
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotations, getOwnedRules, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.MonikeredElement
getMoniker, hasMoniker, setMoniker
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
createOwnedComment, getETarget, getOwnedComments
 
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.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

isSerializable

boolean isSerializable()
Returns the value of the 'Is Serializable' attribute. The default value is "true".

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

Returns:
the value of the 'Is Serializable' attribute.
See Also:
setIsSerializable(boolean), PivotPackage.getDataType_IsSerializable()
Generated
Model
default="true" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false"

setIsSerializable

void setIsSerializable(boolean value)
Sets the value of the 'Is Serializable' attribute.

Parameters:
value - the new value of the 'Is Serializable' attribute.
See Also:
isSerializable()
Generated

getBehavioralType

Type getBehavioralType()
Returns the value of the 'Behavioral Type' reference.

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

Returns:
the value of the 'Behavioral Type' reference.
See Also:
setBehavioralType(Type), PivotPackage.getDataType_BehavioralType()
Generated
Model
ordered="false"

setBehavioralType

void setBehavioralType(Type value)
Sets the value of the 'Behavioral Type' reference.

Parameters:
value - the new value of the 'Behavioral Type' reference.
See Also:
getBehavioralType()
Generated