org.opencrx.kernel.code1.jmi1.CodeValueContainer Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.code1.jmi1;
/**
* Class {@code CodeValueContainer}
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:37.425189595Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface CodeValueContainer
extends org.opencrx.kernel.code1.cci2.CodeValueContainer,
org.opencrx.kernel.base.jmi1.Exporter,
org.opencrx.kernel.base.jmi1.Importer,
org.opencrx.kernel.base.jmi1.SecureObject,
org.openmdx.base.jmi1.BasicObject{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code entry} 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 {@code javax.jdo.Query}
* @param query predicate which is applied to the set of referenced objects.
* @return The objects for which the predicate evaluates to {@code true}.
*/
public java.util.List getEntry(
org.opencrx.kernel.code1.cci2.AbstractEntryQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code entry} for the specified qualifier attribute value.
*
* @param codeIsPersistent Defines whether value for the qualifier is persistent or not
* @param code The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.opencrx.kernel.code1.jmi1.AbstractEntry getEntry(
boolean codeIsPersistent,
java.lang.String code
);
/**
* Retrieves the value for the reference {@code entry} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getEntry(false,code)}.
*
* @param code The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.opencrx.kernel.code1.jmi1.AbstractEntry getEntry(
java.lang.String code
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code entry}.
*
* Note: This is an extension to the JMI 1 standard.
* @param codeIsPersistent {@code true} if {@code code} is persistent
* @param code The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param entry The element to be appended.
*/
public void addEntry (
boolean codeIsPersistent,
java.lang.String code,
org.opencrx.kernel.code1.jmi1.AbstractEntry entry
);
/**
* Adds the specified element to the set of the values for the reference {@code entry} using a reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param code The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param entry The element to be appended.
*/
public void addEntry (
java.lang.String code,
org.opencrx.kernel.code1.jmi1.AbstractEntry entry
);
/**
* Adds the specified element to the set of the values for the reference {@code entry} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param entry The element to be appended.
*/
public void addEntry (
org.opencrx.kernel.code1.jmi1.AbstractEntry entry
);
// ----------------------------------------------------------------------------
// Instance/AttributeGetSet
// ----------------------------------------------------------------------------
/**
* Retrieves a set containing all the elements for the attribute {@code name}.
* @return A set containing all elements for this attribute.
*/
public java.util.Set getName(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSetSet
// ----------------------------------------------------------------------------
/**
* Clears {@code name} and adds the members of the given Set.
*
* This method is equivalent to
* set.clear();
* set.addAll(name);
*
* Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.
* @param name collection to be copied.
*/
public void setName(
java.util.Set name
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/Containment
// ----------------------------------------------------------------------------
}