|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bmc.cmdb.api.CMDBAttributeLimit
com.bmc.cmdb.api.CMDBCharLimit
public class CMDBCharLimit
The CMDBCharLimit class defines the limit of a
character attribute.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
CMDBCharLimit()
Default constructor that creates a character attribute limit with a maximum length of 254 characters. |
|
CMDBCharLimit(int maxCharLength)
Creates a character attribute limit with the specified limit information. |
|
CMDBCharLimit(int maxCharLength,
java.lang.String formatString)
Creates a String selection attribute limit. |
|
CMDBCharLimit(int maxCharLength,
java.lang.String formatString,
java.lang.String charMenu,
int menuStyle,
java.lang.String pattern,
int qbeOption,
int ftsOption)
Creates a character type attribute limit. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCharMenu()
Gets the name of the AR System character menu attached to the underlying field of this attribute. |
java.lang.String |
getFormat()
Gets the format of the character attribute limit. |
int |
getFTSOption()
Gets the FTS option |
int |
getMaxCharLength()
Gets the maximum length of the character attribute limit. |
int |
getMenuStyle()
Gets the menu style. |
java.lang.String |
getPattern()
Gets the pattern for the underlying field of this attribute |
int |
getQBEOption()
Gets the QBE option |
void |
setCharMenu(java.lang.String charMenu)
Sets the name of the AR System character menu attached to the underlying field of this attribute. |
void |
setFormat(java.lang.String formatString)
Sets the format of the character attribute limit. |
void |
setFTSOption(int ftsOption)
Sets the FTS option |
void |
setMaxCharLength(int maxCharLength)
Sets the maximum length of the character attribute limit. |
void |
setMenuStyle(int menuStyle)
Sets the menu style. |
void |
setPattern(java.lang.String pattern)
Sets the pattern for the underlying field of this attribute |
void |
setQBEOption(int qbeOption)
Sets the QBE option |
| Methods inherited from class com.bmc.cmdb.api.CMDBAttributeLimit |
|---|
getDataType |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CMDBCharLimit()
public CMDBCharLimit(int maxCharLength)
maxCharLength - the maximum length of the character attribute limit
public CMDBCharLimit(int maxCharLength,
java.lang.String formatString)
maxCharLength - the maximum length of the String selection attribute limitformatString - the maximum number of semi-colon delimited elements allowed in the
attribute, formatted as Ln, where n is the maximum number of elements (for example, L3).
If the attribute is a regular string, leave formatString NULL.
public CMDBCharLimit(int maxCharLength,
java.lang.String formatString,
java.lang.String charMenu,
int menuStyle,
java.lang.String pattern,
int qbeOption,
int ftsOption)
maxCharLength - the maximum length of the String selection attribute limitformatString - the maximum number of semi-colon delimited elements allowed in the
attribute, formatted as Ln, where n is the maximum number of elements (for example, L3).
If the attribute is a regular string, leave formatString NULL.charMenu - the name of AR System character menu attached to the underlying field of this attributemenuStyle - applies only if menu is attached and dictates how a menu selection reflects into the value
1 = Overwrite the existig value, 2 - Append to the existing valuepattern - the AR System pattern specification for the underlying field of this attributeqbeOption - indicates how the query should match this attribute values
1 = Anywhere, 2 - Leading, 3 - EqualftsOption - indicates whether the underlying field be FTS indexed
0 = No, 1 - indexed| Method Detail |
|---|
public int getMaxCharLength()
public java.lang.String getFormat()
public void setMaxCharLength(int maxCharLength)
maxCharLength - the maximum length of the character attribute limitpublic void setFormat(java.lang.String formatString)
formatString - the maximum number of semi-colon delimited elements allowed in the
attribute, formatted as Ln, where n is the maximum number of elements (for example, L3).
If the attribute is a regular string, leave formatString NULL.public int getMenuStyle()
public void setMenuStyle(int menuStyle)
menuStyle - applies only if menu is attached and dictates how a menu selection reflects into the value
1 = Overwrite the existig value, 2 - Append to the existing valuepublic java.lang.String getCharMenu()
public void setCharMenu(java.lang.String charMenu)
charMenu - the name of AR System character menu attached to the underlying field of this attributepublic java.lang.String getPattern()
public void setPattern(java.lang.String pattern)
pattern - the AR System pattern specification for the underlying field of this attributepublic int getQBEOption()
public void setQBEOption(int qbeOption)
qbeOption - indicates how the query should match this attribute values
1 = Anywhere, 2 - Leading, 3 - Equalpublic int getFTSOption()
public void setFTSOption(int ftsOption)
ftsOption - indicates whether the underlying field be FTS indexed
0 = No, 1 = indexed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||