public abstract class ReferenceAttributeValue extends Object implements Cloneable, Serializable
This class is abstract, and is extended currently by ObjectReferenceAttributeValue, which holds the value of an ObjectReference attribute. In the future, it may also be extended by a class to hold the value of a ContentReference attribute.
A ReferenceAttributeValue is instantiated any time a reference value needs to be represented.
ReferenceAttributeValues also track the name of the Attribute whose value they
represent. After you construct a ReferenceAttributeValue,
you can invoke the setName
method to set its
name.
Modifier and Type | Field and Description |
---|---|
protected String |
m_Name
The name of this ReferenceAttributeValue.
|
Constructor and Description |
---|
ReferenceAttributeValue()
Construct a new ReferenceAttributeValue.
|
ReferenceAttributeValue(String name)
Constructs a new ReferenceAttributeValue with the name set.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
get the Name of the ReferenceAttributeValue.
|
void |
setName(String name)
set the Name of the ReferenceAttributeValue.
|
protected String m_Name
public ReferenceAttributeValue() throws IfsException
IfsException
- if the operation failspublic ReferenceAttributeValue(String name) throws IfsException
name
- the Attribute nameIfsException
- if the operation failspublic String getName() throws IfsException
IfsException
- if the operation failspublic void setName(String name) throws IfsException
name
- the ReferenceAttributeValue name.IfsException
- if the operation failsCopyright © 2023. All rights reserved.