org.eclipse.ocl.examples.pivot
Interface Class

All Superinterfaces:
DomainElement, DomainNamedElement, DomainNamespace, DomainType, Element, org.eclipse.emf.ecore.EObject, Nameable, NamedElement, Namespace, org.eclipse.emf.common.notify.Notifier, OCLValue, ParameterableElement, PivotObject, TemplateableElement, Type, Visitable
All Known Subinterfaces:
AnyType, AssociationClass, BagType, Behavior, CollectionType, DataType, Enumeration, InvalidType, LambdaType, Metaclass<T>, OrderedSetType, PrimitiveType, SelfType, SequenceType, SetType, StateMachine, Stereotype, TupleType, UnspecifiedType, VoidType
All Known Implementing Classes:
AnyTypeImpl, AssociationClassImpl, BagTypeImpl, BehaviorImpl, ClassImpl, CollectionTypeImpl, DataTypeImpl, EnumerationImpl, InvalidTypeImpl, LambdaTypeImpl, MetaclassImpl, OrderedSetTypeImpl, PrimitiveTypeImpl, SelfTypeImpl, SequenceTypeImpl, SetTypeImpl, StateMachineImpl, StereotypeImpl, 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

Method Summary
 java.util.List<Class> getNestedType()
          Returns the value of the 'Nested Type' containment reference list.
 java.util.List<Behavior> getOwnedBehavior()
          Returns the value of the 'Owned Behavior' containment reference list.
 boolean isAbstract()
          Returns the value of the 'Is Abstract' attribute.
 boolean isActive()
          Returns the value of the 'Is Active' attribute.
 boolean isInterface()
          Returns the value of the 'Is Interface' attribute.
 void setIsAbstract(boolean value)
          Sets the value of the 'Is Abstract' attribute.
 void setIsActive(boolean value)
          Sets the value of the 'Is Active' attribute.
 void setIsInterface(boolean value)
          Sets the value of the 'Is Interface' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Type
getExtendedBys, getInstanceClassName, getOwnedAttribute, getOwnedInvariant, getOwnedOperation, getPackage, getSuperClass, setInstanceClassName, setPackage, specializeIn, validateUniqueInvariantName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TemplateableElement
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, getTypeId, getTypeParameters, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isUnique, lookupImplementation, specializeIn
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainNamespace
getOwnedRule
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.OCLValue
oclEquals, oclHashCode
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Namespace
getOwnedRule
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
getName, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, getETarget, getExtension, getOwnedAnnotation, getOwnedComment, getValue
 
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

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

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

isActive

boolean isActive()
Returns the value of the 'Is Active' attribute. The default value is "false". True when a class is active.

Returns:
the value of the 'Is Active' attribute.
See Also:
setIsActive(boolean), PivotPackage.getClass_IsActive()
Generated

setIsActive

void setIsActive(boolean value)
Sets the value of the 'Is Active' attribute.

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

getOwnedBehavior

java.util.List<Behavior> getOwnedBehavior()
Returns the value of the 'Owned Behavior' containment reference list. The list contents are of type Behavior.

If the meaning of the 'Owned Behavior' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Owned Behavior' containment reference list.
See Also:
PivotPackage.getClass_OwnedBehavior()
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

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

getNestedType

java.util.List<Class> getNestedType()
Returns the value of the 'Nested Type' containment reference list. The list contents are of type Class.

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

Returns:
the value of the 'Nested Type' containment reference list.
See Also:
PivotPackage.getClass_NestedType()
Generated