|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.dir.PrincipalAttributeValueSource
public class PrincipalAttributeValueSource
Wrapper Object around a principal attribute value source. Contains the attribute provider URI and the attribute name.
Field Summary | |
---|---|
protected String |
attrName
|
protected IThingID |
providerURI
|
protected String |
providerURIStr
|
static char |
SEPARATOR_CHAR
The separator character used to spit the provider URI from the attribute name. |
Constructor Summary | |
---|---|
PrincipalAttributeValueSource()
Default constructor creates an empty value source. |
|
PrincipalAttributeValueSource(IThingID providerURI,
String attrName)
Constructor set the provider URI, provider URI string, and attribute name. |
|
PrincipalAttributeValueSource(String rawValueString)
Constructor creates a provider URI and attribute name from the string value. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Is this object equal to the one passed in. |
String |
getAttrName()
Get the attribute name. |
IThingID |
getProviderURI()
Get the provider URI. |
String |
getProviderURIStr()
Get the provider URI string. |
int |
hashCode()
Create a hash code from the provider URI, URI string value, and the attribute name. |
void |
setAttrName(String attrName)
Set the attribute name. |
void |
setProviderURI(IThingID providerURI)
Set the provider URI. |
void |
setProviderURIStr(String providerURIStr)
Set the provider URI string. |
String |
toString()
Create a string value from the from the provider URI and the attribute name. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final char SEPARATOR_CHAR
The separator character used to spit the provider URI from the attribute name.
protected IThingID providerURI
protected String providerURIStr
protected String attrName
Constructor Detail |
---|
public PrincipalAttributeValueSource()
public PrincipalAttributeValueSource(String rawValueString)
SEPARATOR_CHAR
. If the character is present
then the first part is used a the value for the provider URI string and the second part
is used for the attribute name. Otherwise the string is use for the provider URI string.
rawValueString
- A character separated value for the provider URI String and attribute name.public PrincipalAttributeValueSource(IThingID providerURI, String attrName)
providerURI
- The provider URI.attrName
- The attribute name.Method Detail |
---|
public String getAttrName()
public void setAttrName(String attrName)
attrName
- The attribute name to set.public IThingID getProviderURI()
RuntimeException
public void setProviderURI(IThingID providerURI)
providerURI
- The providerURI to set.public String getProviderURIStr()
public void setProviderURIStr(String providerURIStr)
providerURIStr
- The providerURIStr to set.public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
obj
- The object to compare to.
Object.equals(java.lang.Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |