org.eclipse.ocl.examples.pivot
Interface Package

All Superinterfaces:
Element, org.eclipse.emf.ecore.EObject, java.lang.Iterable<Package>, MonikeredElement, Nameable, NamedElement, Namespace, org.eclipse.emf.common.notify.Notifier, PivotObject, TemplateableElement, Visitable
All Known Subinterfaces:
Library
All Known Implementing Classes:
LibraryImpl, PackageImpl

public interface Package
extends Namespace, TemplateableElement, java.lang.Iterable<Package>

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> getNestedPackages()
          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> getOwnedPrecedences()
          Returns the value of the 'Owned Precedence' containment reference list.
 org.eclipse.emf.common.util.EList<Type> getOwnedTypes()
          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, 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 org.eclipse.ocl.examples.pivot.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, getUnspecializedElement, isTemplate, parameterableElements, setOwnedTemplateSignature, setUnspecializedElement
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

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"

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...

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"

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

getOwnedPrecedences

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

If the meaning of the 'Owned Precedences' 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"

createOwnedPrecedence

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

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

getNestedPackages

org.eclipse.emf.common.util.EList<Package> getNestedPackages()
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"

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:
getNestedPackages()
Generated

createNestedPackage

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

Returns:
The new Package.
See Also:
getNestedPackages()
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(), getNestedPackages()
Generated
Model
opposite="nestedPackage" transient="false" ordered="false"

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

getOwnedTypes

org.eclipse.emf.common.util.EList<Type> getOwnedTypes()
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.

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"

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:
getOwnedTypes()
Generated

createOwnedType

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

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