|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.administration.MetaDescriptor
object representation of a single ptcPropertyValue from an LDAP entry with an objectClass of ptcServiceMeta
Field Summary | |
private String |
desc
|
private String |
display
|
private String |
help
|
private Hashtable |
idHash
|
private Hashtable |
keyHash
|
(package private) boolean |
listed
|
private int |
max
|
private int |
min
|
(package private) boolean |
multiValued
|
private String |
property
|
(package private) boolean |
ranged
|
(package private) boolean |
required
|
(package private) int |
startIndex
|
private String |
type
|
(package private) Vector |
valueList
|
Constructor Summary | |
MetaDescriptor(String desc)
create a MetaDescriptor object out of an unparsed descriptor string |
|
MetaDescriptor(String desc,
Hashtable idHash,
Hashtable keyHash)
|
|
MetaDescriptor(String desc,
String resourceBundle)
create a MetaDescriptor object out of an unparsed descriptor string with localized labels |
Method Summary | |
static MetaDescriptor |
findDescriptor(String prop,
Vector descs)
search a vector for a MetaDescriptor object based on property name |
private void |
getBundle(String resourceBundle)
|
static Vector |
getDescriptorList(Enumeration descs)
build an alphabetically ordered list of MetaDescriptors |
static Vector |
getDescriptorList(Enumeration descs,
String order)
build an ordered list of MetaDescriptors |
static Vector |
getDescriptorList(Enumeration descs,
String order,
String resourceBundle)
build an ordered, localized list of MetaDescriptors |
String |
getDisplay()
|
String |
getHelp()
|
Hashtable |
getIdHash()
|
Hashtable |
getKeyHash()
|
int |
getMax()
|
int |
getMin()
|
String |
getProperty()
|
int |
getStartIndex()
|
String |
getType()
|
Enumeration |
getValueList()
|
boolean |
isListed()
|
boolean |
isMultiValued()
|
boolean |
isRanged()
|
boolean |
isRequired()
|
private void |
parse()
|
void |
setDisplay(String display)
|
void |
setHelp(String help)
|
void |
setMax(int max)
|
void |
setMin(int min)
|
void |
setProperty(String property)
|
void |
setType(String type)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private String desc
private String property
private String display
private String type
private String help
private int min
private int max
boolean ranged
boolean listed
Vector valueList
private Hashtable keyHash
private Hashtable idHash
boolean multiValued
boolean required
int startIndex
Constructor Detail |
public MetaDescriptor(String desc) throws javax.servlet.jsp.JspException
public MetaDescriptor(String desc, String resourceBundle) throws javax.servlet.jsp.JspException
public MetaDescriptor(String desc, Hashtable idHash, Hashtable keyHash) throws javax.servlet.jsp.JspException
Method Detail |
private void parse() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public boolean isMultiValued()
public boolean isRequired()
public int getStartIndex()
public void setProperty(String property)
public String getProperty()
public void setDisplay(String display) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public String getDisplay()
private void getBundle(String resourceBundle)
public Hashtable getIdHash()
public Hashtable getKeyHash()
public void setHelp(String help) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public String getHelp()
public void setType(String type)
public String getType()
public void setMin(int min)
public int getMin()
public void setMax(int max)
public int getMax()
public Enumeration getValueList()
public boolean isRanged()
public boolean isListed()
public String toString()
public static MetaDescriptor findDescriptor(String prop, Vector descs)
prop
- - the property namedescs
- - the vector of descriptors
public static Vector getDescriptorList(Enumeration descs) throws javax.servlet.jsp.JspException
descs
- - enumeration of unparsed string descriptors
javax.servlet.jsp.JspException
public static Vector getDescriptorList(Enumeration descs, String order) throws javax.servlet.jsp.JspException
descs
- - enumeration of unparsed string descriptorsorder
- - comma separated list of property names, may be null.
javax.servlet.jsp.JspException
public static Vector getDescriptorList(Enumeration descs, String order, String resourceBundle) throws javax.servlet.jsp.JspException
descs
- - enumeration of unparsed string descriptorsorder
- - comma separated list of property names, may be null.resourceBundle
- - where to get localized messages from
javax.servlet.jsp.JspException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |