org.openmdx.generic1.jmi1.PropertySet Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
//
// Name: $Id: AbstractMapper.java,v 1.10 2011/07/08 13:20:51 wfro Exp $
// Generated by: openMDX Java Mapper
// Date: Mon Mar 09 17:04:35 CET 2020
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.openmdx.generic1.jmi1;
/**
* Abstract class PropertySet
*
* If a class is a subclass of PropertySet one is able to attach typed name/list pairs to it via the "property" reference.
*/
public interface PropertySet
extends org.openmdx.generic1.cci2.PropertySet,
org.openmdx.base.accessor.jmi.cci.RefObject_1_0{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference property
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 getProperty(
org.openmdx.generic1.cci2.PropertyQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference property
for the specified qualifier attribute value.
*
* @param nameIsPersistent Defines whether value for the qualifier is persistent or not
* @param name The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.generic1.jmi1.Property getProperty(
boolean nameIsPersistent,
java.lang.String name
);
/**
* Retrieves the value for the reference property
for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation getProperty(false,name)
.
*
* @param name The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.generic1.jmi1.Property getProperty(
java.lang.String name
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference property
.
*
* Note: This is an extension to the JMI 1 standard.
* @param nameIsPersistent true
if name
is persistent
* @param name The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param property The element to be appended.
*/
public void addProperty (
boolean nameIsPersistent,
java.lang.String name,
org.openmdx.generic1.jmi1.Property property
);
/**
* Adds the specified element to the set of the values for the reference property
using a reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param name The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param property The element to be appended.
*/
public void addProperty (
java.lang.String name,
org.openmdx.generic1.jmi1.Property property
);
/**
* Adds the specified element to the set of the values for the reference property
using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param property The element to be appended.
*/
public void addProperty (
org.openmdx.generic1.jmi1.Property property
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}