|
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.policyapi.SmObjectImpl
public abstract class SmObjectImpl
The root of the Policy API object hierarchy.
| Field Summary | |
|---|---|
static java.lang.String |
PropObjectClassName
Constant to indicate the property object class name of the object. |
| Fields inherited from interface com.netegrity.sdk.policyapi.SmObject |
|---|
ConfigurationClassName, PropDesc, PropName, PropOid |
| Constructor Summary | |
|---|---|
SmObjectImpl()
Constructs a Policy API object. |
|
SmObjectImpl(java.lang.String className,
java.lang.String name)
Constructs a Policy API object with a class name and an object name. |
|
SmObjectImpl(java.lang.String className,
java.lang.String name,
java.lang.String description)
Construct a Policy API object with a class name, object name, and description. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the description of the object. |
java.lang.String |
getName()
Gets the name of the object. |
java.lang.String |
getObjectClassname()
Gets the Policy API object class name. |
SmObjId |
getOid()
Gets the object identifier. |
boolean |
isDomainObject()
Specifies whether the current object is a domain object. |
boolean |
isWriteable()
Specifies whether the current object is writable. |
static SmObject |
newObject(java.lang.String strOid)
Creates an object with the given oid, of the class determined from the oid. |
void |
readProperties(java.util.Hashtable properties)
Copies the object properties from the specified hashtable. |
void |
setDescription(java.lang.String description)
Sets the description of the object. |
void |
setName(java.lang.String name)
Sets the name of the object. |
void |
setObjectClassname(java.lang.String className)
Sets the Policy API object class name. |
void |
setOid(java.lang.Object Oid)
Sets the object identifier for the Object object. |
void |
setOid(SmObjId Oid)
Sets the object identifier for the SmObjId object. |
java.lang.String |
toString()
Returns the name of the current object. |
void |
writeProperties(java.util.Hashtable properties)
Copies the object properties to the specified hashtable. |
void |
writeSearchProperties(java.util.Hashtable properties,
java.lang.String[] searchProps)
Copies the properties of the object specified in searchProps
to the properties hashtable. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PropObjectClassName
| Constructor Detail |
|---|
public SmObjectImpl()
public SmObjectImpl(java.lang.String className,
java.lang.String name)
className - Class name of the object.name - Name of the object.
public SmObjectImpl(java.lang.String className,
java.lang.String name,
java.lang.String description)
className - Class name of the object.name - Name of the object.description - Description of the object.| Method Detail |
|---|
public java.lang.String getObjectClassname()
SmObjectSmDomain object, it would return
Domain.
getObjectClassname in interface SmObjectpublic void setObjectClassname(java.lang.String className)
SmObject
setObjectClassname in interface SmObjectclassName - Policy API object class name.public SmObjId getOid()
SmObjectGets the object identifier.
To put the object identifier in string form, usegetOidString().
getOid in interface SmObjectpublic void setOid(SmObjId Oid)
SmObjectSmObjId object. Use
this method to copy one object ID to another object.
setOid in interface SmObjectOid - The object identifier.public void setOid(java.lang.Object Oid)
SmObjectObject object.
This ID is the object's unique object identifier.
setOid in interface SmObjectOid - The object identifier.public java.lang.String getName()
SmObject
getName in interface SmObjectpublic void setName(java.lang.String name)
SmObject
setName in interface SmObjectname - The name of the object.public java.lang.String getDescription()
SmObject
getDescription in interface SmObjectpublic void setDescription(java.lang.String description)
SmObject
setDescription in interface SmObjectdescription - The description of the object.public boolean isWriteable()
SmObject
isWriteable in interface SmObjecttrue if the object is writable.public boolean isDomainObject()
SmObject
isDomainObject in interface SmObjecttrue if the object is a domain object.public java.lang.String toString()
SmObject
toString in interface SmObjecttoString in class java.lang.Objectpublic void writeProperties(java.util.Hashtable properties)
SmObject
writeProperties in interface SmObjectproperties - The hashtable where the object properties will be
copied.
public void writeSearchProperties(java.util.Hashtable properties,
java.lang.String[] searchProps)
SmObjectsearchProps
to the properties hashtable.
writeSearchProperties in interface SmObjectproperties - The hashtable where the search properties will be
copied.searchProps - Object whose search properties will be copied to
properties.public void readProperties(java.util.Hashtable properties)
SmObject
readProperties in interface SmObjectproperties - The new properties of the object.public static SmObject newObject(java.lang.String strOid)
oid - The object's oid.
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||