org.eclipse.ocl.examples.pivot
Interface Class

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

public interface Class
extends Type, Namespace

A representation of the model object 'Class'. A class is a type that has objects as its instances.

The following features are supported:

See Also:
PivotPackage.getClass_()
Generated
Model

Method Summary
 boolean isAbstract()
          Returns the value of the 'Is Abstract' attribute.
 boolean isInterface()
          Returns the value of the 'Is Interface' attribute.
 void setIsAbstract(boolean value)
          Sets the value of the 'Is Abstract' attribute.
 void setIsInterface(boolean value)
          Sets the value of the 'Is Interface' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Type
createOwnedAttribute, createOwnedOperation, createOwnedOperation, getInstanceClassName, getOwnedAttribute, getOwnedOperation, getPackage, getSuperClass, resolveSelfType, setInstanceClassName, setPackage
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getUnspecializedElement, isTemplate, parameterableElements, setOwnedTemplateSignature, setUnspecializedElement
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainType
conformsTo, createInstance, createInstance, getCommonType, getInheritance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, isEqualTo, isEqualToUnspecializedType, isOrdered, isUnique, lookupImplementation
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotation, getOwnedRule, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, createOwnedComment, getETarget, getOwnedComment, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 
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
 

Method Detail

isAbstract

boolean isAbstract()
Returns the value of the 'Is Abstract' attribute. The default value is "false". True when a class is abstract.

Returns:
the value of the 'Is Abstract' attribute.
See Also:
setIsAbstract(boolean), PivotPackage.getClass_IsAbstract()
Generated
Model
default="false" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false" annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/ocl/3.1.0/Pivot!Class!isAbstract'"

setIsAbstract

void setIsAbstract(boolean value)
Sets the value of the 'Is Abstract' attribute.

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

isInterface

boolean isInterface()
Returns the value of the 'Is Interface' attribute. The default value is "false".

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

Returns:
the value of the 'Is Interface' attribute.
See Also:
setIsInterface(boolean), PivotPackage.getClass_IsInterface()
Generated
Model
default="false" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false" annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/ocl/3.1.0/Pivot!Class!isInterface'"

setIsInterface

void setIsInterface(boolean value)
Sets the value of the 'Is Interface' attribute.

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