org.opencrx.kernel.model1.cci2.Import Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.model1.cci2;
/**
* Class {@code 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.
*
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:35.382397848Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface Import
extends org.opencrx.kernel.model1.cci2.Element{
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute {@code isClustered}.
*
* The isClustered flags determines whether the Import object represents simple Package importation, or Package clustering.
* @return The non-null value for attribute {@code isClustered}.
*/
public boolean isClustered(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code isClustered}.
*
* The isClustered flags determines whether the Import object represents simple Package importation, or Package clustering.
* @param isClustered The non-{@code null} new value for attribute {@code isClustered}.
*/
public void setClustered(
boolean isClustered
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code namespace}.
* @return The non-{@code null} value for this reference.
*/
public org.opencrx.kernel.model1.cci2.Namespace getNamespace(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code namespace}.
* @param namespace The new non-{@code null} value for this reference.
*/
public void setNamespace(
org.opencrx.kernel.model1.cci2.Namespace namespace
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute {@code 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 {@code visibility}.
*/
public short getVisibility(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code 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-{@code null} new value for attribute {@code visibility}.
*/
public void setVisibility(
short visibility
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}