|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tivoli.am.fim.trustserver.sts.uuser.Attribute
public class Attribute
Represents an STS Universal User attribute while providing methods to transform to and from XML.
Field Summary | |
---|---|
static java.lang.String |
Attribute_java_copyright
|
static java.lang.String |
Attribute_java_sourceCodeID
|
protected static com.tivoli.am.fim.logging.FIMLogger |
log
|
Constructor Summary | |
---|---|
Attribute(java.lang.String name,
java.lang.String type,
java.util.List values)
Constructs an Attribute object using a name, type and a list of values, typically Strings. |
|
Attribute(java.lang.String name,
java.lang.String type,
org.w3c.dom.Node[] nodes)
Constructs an Attribute object using a name, type, and an array of Nodes. |
|
Attribute(java.lang.String name,
java.lang.String type,
java.lang.String value)
Constructs an Attribute object using a name, type and a single value. |
|
Attribute(java.lang.String name,
java.lang.String type,
java.lang.String[] values)
Constructs an Attribute object using a name, type and an array of String values. |
|
Attribute(java.lang.String name,
java.lang.String type,
java.lang.String nickname,
java.util.List values)
Constructs an Attribute object using a name, nickname, type and a list of values, typically Strings. |
|
Attribute(java.lang.String name,
java.lang.String type,
java.lang.String nickname,
org.w3c.dom.Node[] nodes)
Constructs an Attribute object using a name, type, nickname and an array of Nodes. |
|
Attribute(java.lang.String name,
java.lang.String type,
java.lang.String nickname,
java.lang.String[] values)
Constructs an Attribute object using a name, type, nickname and an array of String values. |
|
Attribute(java.lang.String name,
java.lang.String type,
java.lang.String nickname,
java.lang.String[] values,
org.w3c.dom.Node[] nodes)
Constructs an Attribute object using a name, type, nickname, an array of Nodes and a String array of values. |
Method Summary | |
---|---|
void |
addAttributeValues(java.lang.Object[] values)
Adds additional attribute values to this Attribute object based on the Object[] passed in. |
java.lang.Object |
clone()
Clone method to copy an Attribute object. |
static Attribute |
fromXml(org.w3c.dom.Element attribute)
Returns an Attribute object from an org.w3c.dom.Element . |
java.util.List |
getAttributeValues()
Returns a list of attribute values for this Attribute. |
protected java.lang.String |
getElementName()
Returns the name of this Attribute element. |
java.lang.String |
getName()
Returns the name of this Attribute object. |
java.lang.String |
getNickname()
Returns the nickname of this Attribute object. |
org.w3c.dom.Node[] |
getNodeValues()
Returns the node values of this Attribute as a String[]. |
boolean |
getPreferEncryption()
Returns whether this Attribute object prefers encryption or not. |
java.lang.String |
getType()
Returns the type of this Attribute object. |
java.lang.String[] |
getValues()
Returns the values of this Attribute as a String[]. |
void |
setAttributeValues(java.util.List values)
Sets the attribute values for this Attribute object based on the list passed in. |
void |
setAttributeValues(java.lang.Object[] values)
Sets the attribute values for this Attribute object based on the Object[] passed in. |
void |
setName(java.lang.String name)
Sets the name of this Attribute object. |
void |
setNickname(java.lang.String newname)
Sets the nickname of this Attribute object. |
void |
setNodeValues(org.w3c.dom.Node[] values)
Sets the attributes for this Attribute object using a Node[] of values. |
void |
setType(java.lang.String type)
Sets the type of this Attribute object. |
void |
setValues(java.lang.String[] values)
Sets the attribute values for this Attribute object. |
org.w3c.dom.Element |
toXml(org.w3c.dom.Document owner)
Returns this Attribute as an org.w3c.dom.Element. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String Attribute_java_sourceCodeID
public static final java.lang.String Attribute_java_copyright
protected static com.tivoli.am.fim.logging.FIMLogger log
Constructor Detail |
---|
public Attribute(java.lang.String name, java.lang.String type, java.lang.String[] values)
name
- the name of the Attributetype
- the type of Attributevalues
- an array of String valuespublic Attribute(java.lang.String name, java.lang.String type, java.lang.String value)
name
- the name of the Attributetype
- the type of the Attributevalue
- a single value for the Attributepublic Attribute(java.lang.String name, java.lang.String type, java.util.List values)
name
- the name of the Attributetype
- the type of Attributevalues
- a List of values, typically Stringspublic Attribute(java.lang.String name, java.lang.String type, java.lang.String nickname, java.util.List values)
name
- the name of the Attributetype
- the type of Attributenickname
- the nickname of the Attributevalues
- a List of values, typically Stringspublic Attribute(java.lang.String name, java.lang.String type, java.lang.String nickname, java.lang.String[] values)
name
- the name of the Attributetype
- the type of Attributenickname
- the nickname of the Attributevalues
- an array of String valuespublic Attribute(java.lang.String name, java.lang.String type, java.lang.String nickname, org.w3c.dom.Node[] nodes)
name
- the name of the Attributetype
- the type of Attributenickname
- the nickname of the Attributenodes
- an array of Nodespublic Attribute(java.lang.String name, java.lang.String type, java.lang.String nickname, java.lang.String[] values, org.w3c.dom.Node[] nodes)
name
- the name of the Attributetype
- the type of Attributenickname
- the nickname of the Attributevalues
- an array of String valuesnodes
- an array of Nodespublic Attribute(java.lang.String name, java.lang.String type, org.w3c.dom.Node[] nodes)
name
- the name of the Attributetype
- the type of Attributenodes
- an array of NodesMethod Detail |
---|
public static Attribute fromXml(org.w3c.dom.Element attribute)
org.w3c.dom.Element
.
attribute
- an org.w3c.dom.Element
used to create an
Attribute
org.w3c.dom.Element
.protected java.lang.String getElementName()
public org.w3c.dom.Element toXml(org.w3c.dom.Document owner)
owner
- an org.w3c.dom.Document object.
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to use to set for this Attribute object.public java.lang.String getType()
public void setType(java.lang.String type)
type
- the type to use to set for this Attribute object.public java.lang.String[] getValues()
public org.w3c.dom.Node[] getNodeValues()
public java.util.List getAttributeValues()
public void setNodeValues(org.w3c.dom.Node[] values)
values
- a Node[] of the attributes to be used with this Attribute
object.public void setValues(java.lang.String[] values)
values
- a String[] of the attributes to be used with this Attribute
object.public void setAttributeValues(java.lang.Object[] values)
values
- an Object[] of the attributes to be used with this Attribute
object.public void addAttributeValues(java.lang.Object[] values)
values
- an Object[] of the attributes to be added to this Attribute
object.public void setAttributeValues(java.util.List values)
values
- a List of the attributes to be used with this Attribute
object.public java.lang.String getNickname()
public void setNickname(java.lang.String newname)
newname
- the new nickname for this Attribute object.public boolean getPreferEncryption()
public java.lang.Object clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |