org.openmdx.preferences2.jmi1.Root 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.preferences2.jmi1;
/**
* Abstract class Root
*
* There are two separate trees of preference nodes, one for user preferences and one for system preferences.
* Each user has a separate user preference tree, and all users in a given system share the same system preference tree.
* The precise description of "user" and "system" will vary from implementation to implementation.
* Typical information stored in the user preference tree might include font choice, color choice, or preferred window location and size for a particular application.
* Typical information stored in the system preference tree might include installation configuration data for an application.
*/
public interface Root
extends org.openmdx.preferences2.cci2.Root,
org.openmdx.base.jmi1.BasicObject{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference node
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 getNode(
org.openmdx.preferences2.cci2.NodeQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference node
for the specified qualifier attribute value.
*
* @param idIsPersistent Defines whether value for the qualifier is persistent or not
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.preferences2.jmi1.Node getNode(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference node
for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation getNode(false,id)
.
*
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.preferences2.jmi1.Node getNode(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference node
.
*
* Note: This is an extension to the JMI 1 standard.
* @param idIsPersistent true
if id
is persistent
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param node The element to be appended.
*/
public void addNode (
boolean idIsPersistent,
java.lang.String id,
org.openmdx.preferences2.jmi1.Node node
);
/**
* Adds the specified element to the set of the values for the reference node
using a reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param node The element to be appended.
*/
public void addNode (
java.lang.String id,
org.openmdx.preferences2.jmi1.Node node
);
/**
* Adds the specified element to the set of the values for the reference node
using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param node The element to be appended.
*/
public void addNode (
org.openmdx.preferences2.jmi1.Node node
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}