org.eclipse.ocl.examples.pivot
Interface Package

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

public interface Package
extends Namespace, TemplateableElement, DomainPackage

A representation of the model object 'Package'.

See Also:
PivotPackage.getPackage()
Generated

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.
 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.
 java.util.List<Package> getImportedPackage()
          Returns the value of the 'Imported Package' reference list.
 java.util.List<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.
 java.util.List<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.Namespace
createOwnedRule, getOwnedRule
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, createExtension, createOwnedComment, getETarget, getExtension, 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
 
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
getEPackage, getPackageId
 

Method Detail

getNestedPackage

java.util.List<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.

Specified by:
getNestedPackage in interface DomainPackage
Returns:
the value of the 'Nested Package' containment reference list.
See Also:
PivotPackage.getPackage_NestedPackage(), getNestingPackage()
Generated

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

Specified by:
getNsPrefix in interface DomainPackage
Returns:
the value of the 'Ns Prefix' attribute.
See Also:
setNsPrefix(String), PivotPackage.getPackage_NsPrefix()
Generated

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

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

getImportedPackage

java.util.List<Package> getImportedPackage()
Returns the value of the 'Imported Package' reference list. The list contents are of type Package.

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

Returns:
the value of the 'Imported Package' reference list.
See Also:
PivotPackage.getPackage_ImportedPackage()
Generated

getOwnedType

java.util.List<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

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.

Specified by:
getNestingPackage in interface DomainPackage
Returns:
the value of the 'Nesting Package' container reference.
See Also:
setNestingPackage(Package), PivotPackage.getPackage_NestingPackage(), getNestedPackage()
Generated

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