org.omg.model1.jmi1.Segment Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
//
// Generated by org.openmdx.application.mof.mapping.java.InstanceMapper 2.17.7
// Generated at 2020-11-27T16:04:08.715Z
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.omg.model1.jmi1;
/**
* Class Segment
*
* Each segment contains exactly one model package.
*/
public interface Segment
extends org.omg.model1.cci2.Segment,
org.openmdx.base.jmi1.Segment{
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.openmdx.base.jmi1.Void beginImport(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference element
for the specified query.
* Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with javax.jdo.Query
* @param query predicate which is applied to the set of referenced objects.
* @return The objects for which the predicate evaluates to true
.
*/
public java.util.List getElement(
org.omg.model1.cci2.ElementQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference element
for the specified qualifier attribute value.
*
* @param qualifiedNameIsPersistent Defines whether value for the qualifier is persistent or not
* @param qualifiedName The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.omg.model1.jmi1.Element getElement(
boolean qualifiedNameIsPersistent,
java.lang.String qualifiedName
);
/**
* Retrieves the value for the reference element
for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation getElement(false,qualifiedName)
.
*
* @param qualifiedName The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.omg.model1.jmi1.Element getElement(
java.lang.String qualifiedName
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference element
.
*
* Note: This is an extension to the JMI 1 standard.
* @param qualifiedNameIsPersistent true
if qualifiedName
is persistent
* @param qualifiedName The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param element The element to be appended.
*/
public void addElement (
boolean qualifiedNameIsPersistent,
java.lang.String qualifiedName,
org.omg.model1.jmi1.Element element
);
/**
* Adds the specified element to the set of the values for the reference element
using a reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param qualifiedName The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param element The element to be appended.
*/
public void addElement (
java.lang.String qualifiedName,
org.omg.model1.jmi1.Element element
);
/**
* Adds the specified element to the set of the values for the reference element
using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param element The element to be appended.
*/
public void addElement (
org.omg.model1.jmi1.Element element
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.openmdx.base.jmi1.Void endImport(
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}