org.eclipse.ocl.examples.pivot
Interface Package

All Superinterfaces:
DomainElement, DomainPackage, Element, org.eclipse.emf.ecore.EObject, Nameable, NamedElement, Namespace, org.eclipse.emf.common.notify.Notifier, PivotObject, TemplateableElement, Visitable
All Known Subinterfaces:
Library, Model
All Known Implementing Classes:
LibraryImpl, ModelImpl, PackageImpl

public interface Package
extends Namespace, TemplateableElement, DomainPackage

A representation of the model object 'Package'.

See Also:
PivotPackage.getPackage()
Generated
Model

Method Summary
 Package createNestedPackage()
          Creates a new Package and appends it to the 'Nested Package' containment reference list.
 Package createNestedPackage(org.eclipse.emf.ecore.EClass eClass)
          Creates a new Package and appends it to the 'Nested Package' containment reference list.
 Precedence createOwnedPrecedence()
          Creates a new Precedence and appends it to the 'Owned Precedence' containment reference list.
 Type createOwnedType()
          Creates a new Type and appends it to the 'Owned Type' containment reference list.
 Type createOwnedType(org.eclipse.emf.ecore.EClass eClass)
          Creates a new Type and appends it to the 'Owned Type' containment reference list.
 org.eclipse.emf.common.util.EList<Package> getNestedPackage()
          Returns the value of the 'Nested Package' containment reference list.
 Package getNestingPackage()
          Returns the value of the 'Nesting Package' container reference.
 java.lang.String getNsPrefix()
          Returns the value of the 'Ns Prefix' attribute.
 java.lang.String getNsURI()
          Returns the value of the 'Ns URI' attribute.
 org.eclipse.emf.common.util.EList<Precedence> getOwnedPrecedence()
          Returns the value of the 'Owned Precedence' containment reference list.
 org.eclipse.emf.common.util.EList<Type> getOwnedType()
          Returns the value of the 'Owned Type' containment reference list.
 void setNestingPackage(Package value)
          Sets the value of the 'Nesting Package' container reference.
 void setNsPrefix(java.lang.String value)
          Sets the value of the 'Ns Prefix' attribute.
 void setNsURI(java.lang.String value)
          Sets the value of the 'Ns URI' attribute.
 
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
 
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.domain.elements.DomainPackage
getName
 

Method Detail

getNestedPackage

org.eclipse.emf.common.util.EList<Package> getNestedPackage()
Returns the value of the 'Nested Package' containment reference list. The list contents are of type Package. It is bidirectional and its opposite is 'Nesting Package'. The set of contained packages.

Returns:
the value of the 'Nested Package' containment reference list.
See Also:
PivotPackage.getPackage_NestedPackage(), getNestingPackage()
Generated
Model
opposite="nestingPackage" containment="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!Package!nestedPackage'"

getNsPrefix

java.lang.String getNsPrefix()
Returns the value of the 'Ns Prefix' attribute.

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

Returns:
the value of the 'Ns Prefix' attribute.
See Also:
setNsPrefix(String), PivotPackage.getPackage_NsPrefix()
Generated
Model
dataType="org.eclipse.ocl.examples.pivot.String" 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!Package!nsPrefix'"

setNsPrefix

void setNsPrefix(java.lang.String value)
Sets the value of the 'Ns Prefix' attribute.

Parameters:
value - the new value of the 'Ns Prefix' attribute.
See Also:
getNsPrefix()
Generated

getNsURI

java.lang.String getNsURI()
Returns the value of the 'Ns URI' attribute.

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

Specified by:
getNsURI in interface DomainPackage
Returns:
the value of the 'Ns URI' attribute.
See Also:
setNsURI(String), PivotPackage.getPackage_NsURI()
Generated
Model
dataType="org.eclipse.ocl.examples.pivot.String" 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!Package!nsURI'"

setNsURI

void setNsURI(java.lang.String value)
Sets the value of the 'Ns URI' attribute.

Parameters:
value - the new value of the 'Ns URI' attribute.
See Also:
getNsURI()
Generated

getOwnedPrecedence

org.eclipse.emf.common.util.EList<Precedence> getOwnedPrecedence()
Returns the value of the 'Owned Precedence' containment reference list. The list contents are of type Precedence.

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

Returns:
the value of the 'Owned Precedence' containment reference list.
See Also:
PivotPackage.getPackage_OwnedPrecedence()
Generated
Model
containment="true" annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/ocl/3.1.0/Pivot!Package!ownedPrecedence'"

createOwnedPrecedence

Precedence createOwnedPrecedence()
Creates a new Precedence and appends it to the 'Owned Precedence' containment reference list.

Returns:
The new Precedence.
See Also:
getOwnedPrecedence()
Generated

getOwnedType

org.eclipse.emf.common.util.EList<Type> getOwnedType()
Returns the value of the 'Owned Type' containment reference list. The list contents are of type Type. It is bidirectional and its opposite is 'Package'. The set of contained types.

Specified by:
getOwnedType in interface DomainPackage
Returns:
the value of the 'Owned Type' containment reference list.
See Also:
PivotPackage.getPackage_OwnedType(), Type.getPackage()
Generated
Model
opposite="package" containment="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!Package!ownedType'"

createNestedPackage

Package createNestedPackage(org.eclipse.emf.ecore.EClass eClass)
Creates a new Package and appends it to the 'Nested Package' containment reference list.

Parameters:
eClass - The Ecore class of the Package to create.
Returns:
The new Package.
See Also:
getNestedPackage()
Generated

createNestedPackage

Package createNestedPackage()
Creates a new Package and appends it to the 'Nested Package' containment reference list.

Returns:
The new Package.
See Also:
getNestedPackage()
Generated

getNestingPackage

Package getNestingPackage()
Returns the value of the 'Nesting Package' container reference. It is bidirectional and its opposite is 'Nested Package'. The containing package.

Returns:
the value of the 'Nesting Package' container reference.
See Also:
setNestingPackage(Package), PivotPackage.getPackage_NestingPackage(), getNestedPackage()
Generated
Model
opposite="nestedPackage" transient="false" 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!Package!nestingPackage'"

setNestingPackage

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

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

createOwnedType

Type createOwnedType(org.eclipse.emf.ecore.EClass eClass)
Creates a new Type and appends it to the 'Owned Type' containment reference list.

Parameters:
eClass - The Ecore class of the Type to create.
Returns:
The new Type.
See Also:
getOwnedType()
Generated

createOwnedType

Type createOwnedType()
Creates a new Type and appends it to the 'Owned Type' containment reference list.

Returns:
The new Type.
See Also:
getOwnedType()
Generated