org.eclipse.ocl.examples.pivot
Interface Type

All Superinterfaces:
Element, org.eclipse.emf.ecore.EObject, MonikeredElement, Nameable, NamedElement, org.eclipse.emf.common.notify.Notifier, ParameterableElement, PivotObject, TemplateableElement, Visitable
All Known Subinterfaces:
AnyType, AssociationClass, BagType, Class, ClassifierType, CollectionType, DataType, Enumeration, InvalidType, LambdaType, MessageType, OrderedSetType, PrimitiveType, SequenceType, SetType, TemplateParameterType, TupleType, UnspecifiedType, VoidType
All Known Implementing Classes:
AnyTypeImpl, AssociationClassImpl, BagTypeImpl, ClassifierTypeImpl, ClassImpl, CollectionTypeImpl, DataTypeImpl, EnumerationImpl, InvalidTypeImpl, LambdaTypeImpl, MessageTypeImpl, OrderedSetTypeImpl, PrimitiveTypeImpl, SequenceTypeImpl, SetTypeImpl, TemplateParameterTypeImpl, TupleTypeImpl, TypeImpl, UnspecifiedTypeImpl, VoidTypeImpl

public interface Type
extends NamedElement, TemplateableElement, ParameterableElement

A representation of the model object 'Type'. A type is a named element that is used as the type for a typed element. A type can be contained in a package. Type is defined to be a kind of templateable element so that a type can be parameterized. It is also defined to be a kind of parameterable element so that a type can be a formal template parameter.

The following features are supported:

See Also:
PivotPackage.getType()
Generated
Model

Method Summary
 java.lang.String getInstanceClassName()
          Returns the value of the 'Instance Class Name' attribute.
 Package getPackage()
          Returns the value of the 'Package' container reference.
 void setInstanceClassName(java.lang.String value)
          Sets the value of the 'Instance Class Name' attribute.
 void setPackage(Package value)
          Sets the value of the 'Package' container reference.
 
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.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.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
 

Method Detail

getPackage

Package getPackage()
Returns the value of the 'Package' container reference. It is bidirectional and its opposite is 'Owned Type'. Specifies the owning package of this classifier, if any.

Returns:
the value of the 'Package' container reference.
See Also:
setPackage(org.eclipse.ocl.examples.pivot.Package), PivotPackage.getType_Package(), Package.getOwnedTypes()
Generated
Model
opposite="ownedType" transient="false" ordered="false"

setPackage

void setPackage(Package value)
Sets the value of the 'Package' container reference.

Parameters:
value - the new value of the 'Package' container reference.
See Also:
getPackage()
Generated

getInstanceClassName

java.lang.String getInstanceClassName()
Returns the value of the 'Instance Class Name' attribute.

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

Returns:
the value of the 'Instance Class Name' attribute.
See Also:
setInstanceClassName(String), PivotPackage.getType_InstanceClassName()
Generated
Model
dataType="org.eclipse.ocl.examples.pivot.String" ordered="false"

setInstanceClassName

void setInstanceClassName(java.lang.String value)
Sets the value of the 'Instance Class Name' attribute.

Parameters:
value - the new value of the 'Instance Class Name' attribute.
See Also:
getInstanceClassName()
Generated