org.omg.model1.cci2.Import Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
//
// Generated by org.openmdx.application.mof.mapping.java.InstanceMapper 2.17.7
// Generated at 2020-11-27T16:04:08.544Z
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.omg.model1.cci2;
/**
* Class Import
*
* An Import allows a Package to make use of Elements defined in some other Namespace. An Import object is related to another Namespace via the Aliases association. When a Package contains an Import object, it imports the associated
* Namespace. This means that ModelElements defined within the imported Namespace are visible in the importing Package.
*
* An Import allows the visibility of the imported Package's contained ModelElements to be further restricted. An Import object represents either Package importing or Package clustering, depending on the 'isClustered' attribute.
*
*/
public interface Import
extends org.omg.model1.cci2.Element{
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference importedNamespace
.
* @return The non-null
value for this reference.
*/
public org.omg.model1.cci2.Namespace getImportedNamespace(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference importedNamespace
.
* @param importedNamespace The new non-null
value for this reference.
*/
public void setImportedNamespace(
org.omg.model1.cci2.Namespace importedNamespace
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute isClustered
.
*
* The isClustered flags determines whether the Import object represents simple Package importation, or Package clustering.
* @return The non-null value for attribute isClustered
.
*/
public boolean isClustered(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute isClustered
.
*
* The isClustered flags determines whether the Import object represents simple Package importation, or Package clustering.
* @param isClustered The non-null new value for attribute isClustered
.
*/
public void setClustered(
boolean isClustered
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute visibility
.
*
* In the future, this Attribute will modify the visibility of imported Elements in the context of the importing Namespace. The MOF rules of visibility are not currently specified.
* @return The non-null value for attribute visibility
.
*/
public java.lang.String getVisibility(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute visibility
.
*
* In the future, this Attribute will modify the visibility of imported Elements in the context of the importing Namespace. The MOF rules of visibility are not currently specified.
* @param visibility The non-null new value for attribute visibility
.
*/
public void setVisibility(
java.lang.String visibility
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}