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()
Extends:
org.eclipse.ocl.examples.domain.elements.DomainPackage A package is a container for types and other packages. Package specializes TemplateableElement and PackageableElement specializes ParameterableElement to specify that a package can be used as a template and a PackageableElement as a template parameter.

The following features are supported:

Generated

Method Summary
 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.
 java.util.List<ProfileApplication> getProfileApplication()
          Returns the value of the 'Profile Application' 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
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
 
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.domain.elements.DomainPackage
getEPackage, getPackageId
 

Method Detail

getNestedPackage

@NonNull
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

@NonNull
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

@NonNull
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

getProfileApplication

@NonNull
java.util.List<ProfileApplication> getProfileApplication()
Returns the value of the 'Profile Application' containment reference list. The list contents are of type ProfileApplication. It is bidirectional and its opposite is 'Applying Package'.

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

Returns:
the value of the 'Profile Application' containment reference list.
See Also:
PivotPackage.getPackage_ProfileApplication(), ProfileApplication.getApplyingPackage()
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