|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.uddi.v3.management.Property
public abstract class Property
Base class for UDDI property objects.
Constructor Summary | |
---|---|
Property()
Constructor taking no arguments |
|
Property(java.lang.String id,
java.lang.String type,
java.lang.Object value,
java.lang.String nameKey)
Convenience constructor taking an id, type, value and name key only. |
Method Summary | |
---|---|
boolean |
getBooleanValue()
Convenience method for getting a boolean value. |
java.util.List |
getConstraints()
Returns validation constraints (if any). |
java.lang.String |
getDescriptionKey()
Returns the message key for the description of this property. |
int |
getDisplayOrder()
Returns the display weighting which is typically used by user interfaces to determine display order for multiple property views. |
java.lang.String |
getId()
Returns the identifier for this property. |
int |
getIntegerValue()
Convenience method for getting an integer value. |
java.lang.String |
getNameKey()
Returns the message key for the name of this property. |
java.lang.String |
getStringValue()
Convenience method for getting an integer value. |
java.lang.String |
getType()
Returns the String representing the type of this property. |
java.lang.String |
getUnitsKey()
|
java.util.List |
getValidValues()
Returns the collection of valid values that this property's value can be. |
java.lang.Object |
getValue()
Returns the property value as an Object , which should be cast according to the
type attribute. |
boolean |
isInternal()
Indicates if this property is only for UDDI registry use and not to be controlled by clients. |
boolean |
isReadOnly()
Indicates if the property is read only. |
boolean |
isRequired()
Indicates if the property is a required field. |
boolean |
isUsingMessageKeys()
|
void |
setBooleanValue(boolean booleanValue)
Convenience method for setting value of type Boolean. |
void |
setConstraints(java.util.List constraints)
Sets validation constraints. |
void |
setDescriptionKey(java.lang.String descriptionKey)
Sets the description message key of the property. |
void |
setDisplayOrder(int displayOrder)
Sets the display weighting. |
void |
setId(java.lang.String id)
Sets the ID of the property. |
void |
setIntegerValue(int integerValue)
Convenience method for setting value of type Integer. |
void |
setInternal(boolean internal)
Sets the internal flag, indicating if this property is only for UDDI registry use and not to be controlled by clients. |
void |
setNameKey(java.lang.String nameKey)
Sets the name message key of the property. |
void |
setReadOnly(boolean readOnly)
Indicates if property is read only. |
void |
setRequired(boolean required)
Indicates if the property is required. |
void |
setStringValue(java.lang.String stringValue)
Convenience method for setting value of type String. |
void |
setType(java.lang.String type)
Sets the type of the property value. |
void |
setUnitsKey(java.lang.String unitsKey)
Message key for looking up locale specific text for units. |
void |
setUsingMessageKeys(boolean usingMessageKeys)
Indicates if the value contains message keys. |
void |
setValidValues(java.util.List validValues)
Sets valid values a property can have if it supports multiple possible values. |
void |
setValue(java.lang.Object value)
Sets the value of the property. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Property()
public Property(java.lang.String id, java.lang.String type, java.lang.Object value, java.lang.String nameKey)
id
- type
- value
- nameKey
- Method Detail |
---|
public java.lang.String getDescriptionKey()
public java.lang.String getId()
public java.lang.String getNameKey()
public java.lang.String getType()
String
representing the type of this property.
public java.util.List getValidValues()
List
of valid values (need to cast to type).public void setDescriptionKey(java.lang.String descriptionKey)
descriptionKey
- public void setId(java.lang.String id)
id
- public void setNameKey(java.lang.String nameKey)
nameKey
- public void setType(java.lang.String type)
type
- public java.lang.Object getValue()
Object
, which should be cast according to the
type attribute.
public void setValue(java.lang.Object value)
Object
- public boolean isReadOnly()
public boolean isRequired()
public java.lang.String getUnitsKey()
public boolean isUsingMessageKeys()
public void setReadOnly(boolean readOnly)
readOnly
- public void setRequired(boolean required)
required
- true
if the property is required.public void setUnitsKey(java.lang.String unitsKey)
unitsKey
- public void setUsingMessageKeys(boolean usingMessageKeys)
usingMessageKeys
- public void setValidValues(java.util.List validValues)
validValues
- public void setBooleanValue(boolean booleanValue)
booleanValue
- public boolean getBooleanValue()
true
if value is true, false
public void setIntegerValue(int integerValue)
integerValue
- public int getIntegerValue()
public void setStringValue(java.lang.String stringValue)
stringValue
- public java.lang.String getStringValue()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isInternal()
Property
objects that have internal set to false
.
true
if the property is used internally only.public void setInternal(boolean internal)
internal
- - true
indicates the property is used internally.public int getDisplayOrder()
public void setDisplayOrder(int displayOrder)
displayOrder
- - display weighting value, relative to values of other properties in same collection.public java.util.List getConstraints()
Property
is returned to
a client, only constraints that can be executed outside of the UDDI application
are populated.
Constraint
objects.public void setConstraints(java.util.List constraints)
constraints
- collection of Constraint
objects.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |