public interface IStructuredReferenceModifier
StructuredReference
.Modifier and Type | Method and Description |
---|---|
void |
addSupportingStructuredReference(StructuredReference structRef,
StructuredReference supportingStructRef)
Adds the
supportingStructRef StructuredReference to the structRef StructuredReference,
throws java.lang.AssertionError if the providerId of the structRef is not managed by this modifier. |
StructuredReference |
createStructuredReference(java.lang.String providerId,
java.util.Map properties,
StructuredReference[] supportingStructRefs)
Creates a StructuredReference with the specified
providerId , properties and supporting Structured References. |
void |
removeSupportingStructuredReference(StructuredReference structRef,
int index)
Removes the supporting StructuredReference at the specified
index from the specified StructuredReference ,
throws java.lang.AssertionError if the providerId of the structRef is not managed by this modifier. |
void |
removeSupportingStructuredReference(StructuredReference structRef,
StructuredReference supportingStructRef)
Remove the specified
supportingStructRef StructuredReference from the specified structRef StructuredReference,
throws java.lang.AssertionError if the providerId of the structRef is not managed by this modifier. |
void |
setProperty(StructuredReference structRef,
java.lang.String name,
java.lang.String value)
Adds or sets the property of the specified StructuredReference
structRef ,
throws java.lang.AssertionError if the providerId of the structRef is not managed by this modifier. |
StructuredReference createStructuredReference(java.lang.String providerId, java.util.Map properties, StructuredReference[] supportingStructRefs)
providerId
, properties
and supporting Structured References.providerId
- Provider Id of the Structured Reference to createproperties
- Properties of the Structured Reference to create, null
can be specifiedsupportingStructRefs
- Supporting Structured References of the Structured Reference to create, null
can be specifiedStructuredReference
if the specified providerId
is managed by this modifier,
throws java.lang.AssertionError
if providerId
is null or not managed by this modifier.void setProperty(StructuredReference structRef, java.lang.String name, java.lang.String value)
structRef
,
throws java.lang.AssertionError
if the providerId of the structRef
is not managed by this modifier.structRef
- The StructuredReference
to modifyname
- Name of the property to setvalue
- Value of the property to setvoid addSupportingStructuredReference(StructuredReference structRef, StructuredReference supportingStructRef)
supportingStructRef
StructuredReference to the structRef
StructuredReference,
throws java.lang.AssertionError
if the providerId of the structRef
is not managed by this modifier.structRef
- The StructuredReference
to modifysupportingStructRef
- The supporting StructuredReference tovoid removeSupportingStructuredReference(StructuredReference structRef, int index)
index
from the specified StructuredReference
,
throws java.lang.AssertionError
if the providerId of the structRef
is not managed by this modifier.structRef
- The StructuredReference
to modifyindex
- The index of the supporting StructuredReference to removevoid removeSupportingStructuredReference(StructuredReference structRef, StructuredReference supportingStructRef)
supportingStructRef
StructuredReference from the specified structRef
StructuredReference,
throws java.lang.AssertionError
if the providerId of the structRef
is not managed by this modifier.structRef
- The StructuredReference
to modifysupportingStructRef
- The StructuredReference
to remove from the list of supporting StructuredReferneces