|
SiteMinder Java SDK r12.51 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netegrity.sdk.apiutil.SmProperty
public class SmProperty
Holds the name, value, and type (encrypted or unencrypted) of a property.
| Field Summary | |
|---|---|
static java.lang.Character |
UNIT_SEPARATOR
This Constant is Unit Separator which is used to separate the property name, value and type in the string representation of Smproperty object. |
| Constructor Summary | |
|---|---|
SmProperty()
Constructs an empty Property object. |
|
SmProperty(SmProperty property)
Copy Constructor. |
|
SmProperty(java.lang.String name,
java.lang.String value)
Constructs a Property object with the specified name and value |
|
SmProperty(java.lang.String name,
java.lang.String value,
int type)
Constructs a Property object with the specified name, value and type. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Gets the name of the property. |
int |
getType()
Gets the type of the property. |
java.lang.String |
getValue()
Gets the value of the property. |
int |
hashCode()
|
void |
setName(java.lang.String name)
Sets the name of the property. |
void |
setType(int type)
Sets the type of the property. |
void |
setValue(java.lang.String value)
Sets the value of the property. |
java.lang.String |
toString()
Returns String representation of SmProperty Object. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Character UNIT_SEPARATOR
| Constructor Detail |
|---|
public SmProperty()
Constructs an empty Property object.
This constructor sets the property name and value to empty strings and the property type to zero.
public SmProperty(java.lang.String name,
java.lang.String value)
Constructs a Property object with the specified name and value
The property type is set to the default (that is, unencrypted/plain text).
name - Name of the property.value - Value of the property.
public SmProperty(java.lang.String name,
java.lang.String value,
int type)
name - Name of the property.value - Value of the property.type - Type of the property, where:
public SmProperty(SmProperty property)
property - The property object to be copied| Method Detail |
|---|
public void setName(java.lang.String name)
name - The name of the object.public java.lang.String getName()
public void setValue(java.lang.String value)
value - The value of the object.public java.lang.String getValue()
public void setType(int type)
type - The name of the type.public int getType()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||