public interface Segment extends Segment, Segment, Auditee, Exporter, Importer, Indexed, SecureObject
Segment
Each segment contains exactly one model package.
Modifier and Type | Method and Description |
---|---|
void |
addElement(boolean idIsPersistent,
String id,
Element element)
Adds the specified element to the set of the values for the reference
element . |
void |
addElement(Element element)
Adds the specified element to the set of the values for the reference
element using an implementation-specific, reassignable qualifier. |
void |
addElement(String id,
Element element)
Adds the specified element to the set of the values for the reference
element using a reassignable qualifier. |
Element |
getElement(boolean idIsPersistent,
String id)
Retrieves the value for the reference
element for the specified qualifier attribute value. |
<T extends Element> |
getElement(ElementQuery query)
Retrieves the value for the reference
element for the specified query. |
Element |
getElement(String id)
Retrieves the value for the reference
element for the specified qualifier attribute value. |
getElement
getExtent, getExtent, getExtent, getProvider
getDescription, getExtent, setDescription
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
exportItem
exportItem
importItem
importItem
getIndexEntry, getIndexEntry, getIndexEntry, updateIndex
getIndexEntry, updateIndex
addOwningGroup, checkPermissions, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setOwner, setOwningUser, setOwningUser
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser
<T extends Element> List<T> getElement(ElementQuery query)
element
for the specified query.
Note: This is an extension to the JMI 1 standard.java.jdo.Query
query
- predicate which is applied to the set of referenced objects.true
.Element getElement(boolean idIsPersistent, String id)
element
for the specified qualifier attribute value.
idIsPersistent
- Defines whether value for the qualifier is persistent or notid
- The value for the qualifier attribute that qualifies this reference.Element getElement(String id)
element
for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getElement(false,id)
.
id
- The value for the qualifier attribute that qualifies this reference.void addElement(boolean idIsPersistent, String id, Element element)
element
.
Note: This is an extension to the JMI 1 standard.
idIsPersistent
- true
if id
is persistentid
- The qualifier attribute value that qualifies the reference to get the element to be appended.element
- The element to be appended.void addElement(String id, Element element)
element
using a reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
id
- The qualifier attribute value that qualifies the reference to get the element to be appended.element
- The element to be appended.void addElement(Element element)
element
using an implementation-specific, reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
element
- The element to be appended.This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.