public class GCDnRefValue extends GCValue
Note that dn-ref GCVs are not allowed in GCDefinitions
(i.e., actual GCV collections)
but are allowed in JobParams
.
Lexical value representations of dn-ref GCVs is irrelevant because the value itself is ignored.
GCValue.IllegalCloneStateException, GCValue.XmlComment, GCValue.XmlItem, GCValue.XmlProcessingInstruction
modified, parent, TYPE_BOOLEAN, TYPE_DN, TYPE_DN_REF, TYPE_ENUM, TYPE_GCV_REF, TYPE_GROUP, TYPE_HEADER, TYPE_INTEGER, TYPE_LIST, TYPE_PASSWORD_REF, TYPE_REAL, TYPE_STRING, TYPE_STRUCTURED, TYPE_SUBORDINATES, xmlItems
Constructor and Description |
---|
GCDnRefValue(java.lang.String name)
Constructor for use by
GCValue construct() method. |
Modifier and Type | Method and Description |
---|---|
GCValue |
cloneValue(java.lang.String name)
Clone this
GCValue instance and return the cloned instance. |
java.lang.String |
getAttrName()
Return the name of the referenced attribute that references a directory object for this value.
|
java.lang.String |
getAuxClassName()
Get the name of the aux class (if any) containing the attribute referred to
by
getAttrName() . |
java.lang.String |
getValue()
Return empty
String . |
void |
parseValue(java.lang.String value)
Does nothing for dn-ref values.
|
void |
setAttrName(java.lang.String attrName)
Set the name of the referenced attribute for this value.
|
void |
setAuxClassName(java.lang.String auxClassName)
Set the name of the aux class needed for the attribute name that refers to the
object referenced by this value.
|
void |
setValue(java.lang.String value)
Does nothing.
|
addXmlComment, addXmlItems, addXmlProcessingInstruction, cloneCommon, construct, construct, constructGCVRef, constructGCVRef, constructGroup, constructHeader, constructStructuredValue, constructSubordinates, getDescription, getDescriptionRef, getDisplayName, getDisplayNameRef, getHidden, getMandatory, getName, getOwner, getParent, getType, getTypeString, getXmlItemsIterator, getXMLValue, hasBeenModified, localize, resetModified, setDescription, setDescriptionRef, setDisplayName, setDisplayNameRef, setHidden, setMandatory, toXML, typeFromString
public GCDnRefValue(java.lang.String name) throws GCVArgumentException
GCValue
construct()
method.name
- Name of password-ref GCV.GCVArgumentException
- thrown if name is invalidpublic GCValue cloneValue(java.lang.String name)
GCValue
instance and return the cloned instance.cloneValue
in class GCValue
the
- name for the cloned value.public java.lang.String getAttrName()
null
or a directory attribute name.public void setAttrName(java.lang.String attrName) throws GCVException
attrName
- name of directory attribute name.GCVException
- thrown if attrName
is null
or empty.public java.lang.String getAuxClassName()
getAttrName()
.null
or directory aux class name.public void setAuxClassName(java.lang.String auxClassName)
auxClassName
- name of aux class (may be null
or empty).public void parseValue(java.lang.String value) throws GCVException
parseValue
in class GCValue
value
- ignoredGCVException
public java.lang.String getValue()
String
.public void setValue(java.lang.String value) throws GCVException
setValue
in class GCValue
value
- ignoredGCVException
parseValue(java.lang.String)