|
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
com.netegrity.sdk.policyapi.SmDomainObjectImpl
com.netegrity.sdk.policyapi.SmVariable
public final class SmVariable
Represents a SiteMinder Variable object.
This object has domain scope.
| Field Summary | |
|---|---|
static java.lang.String |
PropDefinition
Constant to indicate the Definition |
static java.lang.String |
PropMetaData
Constant to indicate the property MetaData |
static java.lang.String |
PropPrefetchFlag
Constant to indicate the property PrefetchFlag. |
static java.lang.String |
PropReturnType
Constant to indicate the property ReturnType. |
static java.lang.String |
PropVariableType
Constant to indicate the property VariableType |
static int |
TYPE_BOOLEAN
|
static int |
TYPE_DATE
|
static int |
TYPE_NUMBER
|
static int |
TYPE_STRING
|
| Fields inherited from class com.netegrity.sdk.policyapi.SmObjectImpl |
|---|
PropObjectClassName |
| Fields inherited from interface com.netegrity.sdk.policyapi.SmDomainObject |
|---|
PropDomain |
| Fields inherited from interface com.netegrity.sdk.policyapi.SmObject |
|---|
ConfigurationClassName, PropDesc, PropName, PropOid |
| Constructor Summary | |
|---|---|
SmVariable()
Constructs a Variable object. |
|
SmVariable(java.lang.String name)
Constructs a Variable object with the specified name. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDefinition()
Gets the definition of the Variable. |
java.lang.String |
getMetaData()
Gets the MetaData of the Variable. |
boolean |
getPrefetchFlag()
Gets the PrefetchFlag of the Variable. |
int |
getReturnType()
Gets the returnType of the Variable. |
SmObjId |
getVariableType()
Gets the Object identifier of the VariableType. |
void |
readProperties(java.util.Hashtable properties)
Copies the object properties from the specified hashtable. |
void |
setDefinition(java.lang.String szDefinition)
Sets the Definition. |
void |
setMetaData(java.lang.String szMetaData)
Sets the MetaData. |
void |
setPrefetchFlag(boolean prefetchFlag)
Sets the PrefetchFlag. |
void |
setReturnType(int returnType)
Sets the returnType. |
void |
setVariableType(java.lang.Object variableType)
Sets the VariableType. |
void |
writeProperties(java.util.Hashtable properties)
Copies the object properties to the specified hashtable. |
| Methods inherited from class com.netegrity.sdk.policyapi.SmDomainObjectImpl |
|---|
getDomain, getDomainName, isDomainObject, isWriteable, setDomain, setDomainName |
| Methods inherited from class com.netegrity.sdk.policyapi.SmObjectImpl |
|---|
getDescription, getName, getObjectClassname, getOid, newObject, setDescription, setName, setObjectClassname, setOid, setOid, toString, writeSearchProperties |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.netegrity.sdk.policyapi.SmObject |
|---|
getDescription, getName, getObjectClassname, getOid, setDescription, setName, setObjectClassname, setOid, setOid, toString, writeSearchProperties |
| Field Detail |
|---|
public static final java.lang.String PropVariableType
public static final java.lang.String PropDefinition
public static final java.lang.String PropReturnType
public static final java.lang.String PropPrefetchFlag
public static final java.lang.String PropMetaData
public static final int TYPE_BOOLEAN
public static final int TYPE_NUMBER
public static final int TYPE_STRING
public static final int TYPE_DATE
| Constructor Detail |
|---|
public SmVariable()
public SmVariable(java.lang.String name)
name - Name of the Rule.| Method Detail |
|---|
public void setVariableType(java.lang.Object variableType)
variableType - The Object identifier of the VariableType.public SmObjId getVariableType()
public java.lang.String getDefinition()
public void setDefinition(java.lang.String szDefinition)
szDefinition - The definition of the Variable.
You define a variable by specifying where the variable’s value can be found. You
do so through the pszDefinition field.
The value of this field can be a simple string or a set of XML elements,
depending on the variable type. Here are the SiteMinder variable types and a
description of the pszDefinition field for each type:
Post
The pszDefinition field contains the name of a field on an HTML form. In a
POST action, the variable value is derived from the value assigned to the
field.
RequestContext
The pszDefinition field contains the following XML code:
public boolean getPrefetchFlag()
public void setPrefetchFlag(boolean prefetchFlag)
prefetchFlag - The PrefetchFlag of the Variable.public int getReturnType()
public void setReturnType(int returnType)
returnType - The returnType of the Variable.
1 - TYPE_BOOLEAN
2 - TYPE_NUMBER
3 - TYPE_STRING
4 - TYPE_DATEpublic java.lang.String getMetaData()
public void setMetaData(java.lang.String szMetaData)
MetaData - The MetaData of the Variable.public void writeProperties(java.util.Hashtable properties)
SmObject
writeProperties in interface SmObjectwriteProperties in class SmDomainObjectImplproperties - The hashtable where the object properties will be
copied.public void readProperties(java.util.Hashtable properties)
SmObject
readProperties in interface SmObjectreadProperties in class SmDomainObjectImplproperties - The new properties of the 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 | ||||||||