|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.common.data.AssetAttribute
public class AssetAttribute
Defines the attribute of the asset. The class contains the name of the attribute and the URI string to the attribute in the classification schemas. It might also contain a description.
| Field Summary | |
|---|---|
static java.lang.String |
TYPE_BOOLEAN
Boolean Attribute Type |
static java.lang.String |
TYPE_DATE
Date Attribute Type |
static java.lang.String |
TYPE_LINK
Link Attribute Type |
static java.lang.String |
TYPE_NUMBER
Numeric Attribute Type |
static java.lang.String |
TYPE_RESOURCE
Jazz resource attribute type |
static java.lang.String |
TYPE_TEXT
Text Attribute Type |
static java.lang.String |
TYPE_USER
User Attribute Type |
static java.lang.String |
TYPE_XML
XML Artifact bound Attribute Type |
| Constructor Summary | |
|---|---|
AssetAttribute()
Construct a default Attribute |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
The optional description. |
java.lang.String |
getName()
Get the name of the attribute. |
java.lang.String |
getType()
|
java.lang.String |
getURI()
The string will be fully-qualified. |
java.lang.String[] |
getValidValues()
Get the array of valid settings. |
java.lang.String[] |
getValues()
Returns the value of this custom attribute |
boolean |
isRestrictedSetting()
Answer whether this is a standard any value setting, or if it is a restricted value setting (i.e. |
boolean |
isSingleSetting()
Answer whether this is a single setting attribute of a multi-setting attribute. |
void |
setDescription(java.lang.String description)
|
void |
setName(java.lang.String name)
|
void |
setRestrictedSetting(boolean restrictedSetting)
The array of valid settings. |
void |
setSingleSetting(boolean singleSetting)
|
void |
setType(java.lang.String type)
|
void |
setURI(java.lang.String uriString)
|
void |
setValidValues(java.lang.String[] validSettings)
|
void |
setValues(java.lang.String[] values)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TYPE_BOOLEAN
public static final java.lang.String TYPE_DATE
public static final java.lang.String TYPE_LINK
public static final java.lang.String TYPE_NUMBER
public static final java.lang.String TYPE_TEXT
public static final java.lang.String TYPE_RESOURCE
public static final java.lang.String TYPE_USER
public static final java.lang.String TYPE_XML
| Constructor Detail |
|---|
public AssetAttribute()
| Method Detail |
|---|
public java.lang.String getURI()
public void setURI(java.lang.String uriString)
uriString - The uriString to set.public java.lang.String getName()
public java.lang.String getDescription()
null if there is no description.public void setDescription(java.lang.String description)
description - The description to set.public void setName(java.lang.String name)
name - The name to set.public boolean isRestrictedSetting()
true if restricted, false if no restriction.public boolean isSingleSetting()
isRestrictedSetting() returns true.
public void setSingleSetting(boolean singleSetting)
singleSetting - The singleSetting to set.public java.lang.String[] getValidValues()
isRestrictedSetting() returns true.
isRestrictedSetting(),
isSingleSetting()public void setValidValues(java.lang.String[] validSettings)
validSettings - The validSettings to set.public java.lang.String[] getValues()
public void setValues(java.lang.String[] values)
validSettings - The validSettings to set.public java.lang.String getType()
public void setType(java.lang.String type)
type - The type to set.public void setRestrictedSetting(boolean restrictedSetting)
isRestrictedSetting() returns true.
isRestrictedSetting(),
isSingleSetting()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||