|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
| Field Summary | |
static String |
ROLESTRING
String to use as TextRole attribute for TextStore objects that contain configuration XML. |
static String |
TYPESTRING
String to use as TextType for TextStore objects that contain XML |
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Method Summary | |
void |
addEnumerationItem(EnumerationItem item)
Add an item to the enumeration data. |
List |
getEnumerationItems()
Returns a list of EnumerationItem objects or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type. |
List |
getEnumerationTextLabels()
Returns a list of enumeration text labels or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type. |
List |
getEnumerationTextLabels(Locale locale)
Returns a list of enumeration text labels or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type. |
List |
getEnumerationValues()
Returns a list of enumeration values or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type. |
Map |
getEnumerationValuesLabelsMap(Locale locale)
Returns a map consisting of values and their corresponding labels |
Map |
getIntegerRange()
Returns a map containing limits for integer data or null if the ParsedConfigurationXMLObject does not contain an IntegerRange data type. |
int |
getIntegerRangeIncrement()
Returns the minimum value of the IntegerRange. |
int |
getIntegerRangeMaximum()
Returns the maximum value of the IntegerRange. |
int |
getIntegerRangeMinimum()
Returns the minimum value of the IntegerRange. |
Map |
getNumericRange()
Returns a map containg limits for numeric data or null if the ParsedConfigurationXMLObject does not contain a NumericRange data type. |
Number |
getNumericRangeIncrement()
Returns the increment of the NumericRange. |
Number |
getNumericRangeMaximum()
Returns the maximum value of the NumericRange. |
Number |
getNumericRangeMinimum()
Returns the minimum value of the NumericRange. |
Map |
getSelectionRange()
Get the selection range. |
int |
getStringLengthMaximum()
Get the maximum string length for this configuration. |
int |
getStringLengthMinimum()
Get the minimum allowed string length for this configuration. |
Map |
getStringLengthRange()
Get the string length range as a Map with a "min" and "max" value. |
boolean |
hasUniqueTextLabels(Locale locale)
Returns a boolean indicating whether the values are identical to their corresponding text labels Returns false only if each value in the enumeration is identical to its corresponding text label |
boolean |
isEnumerationOthersAllowed()
Returns the value of the isOthersAllowed attribute of an Enumeration. |
boolean |
isEnumerationOthersAllowedSet()
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for the isOthersAllowed attribute of Enumeration. |
boolean |
isIntegerRangeIncrementSet()
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for an increment of the IntegerRange. |
boolean |
isIntegerRangeMaximumSet()
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for an increment of the IntegerRange. |
boolean |
isIntegerRangeMinimumSet()
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for a minimum value of the IntegerRange. |
boolean |
isNumericRangeIncrementSet()
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for an increment of the NumericRange. |
boolean |
isNumericRangeMaximumExclusive()
Returns a boolean indicating whether the maximum value of the NumericRange is exclusive (the value should not be contained within the range of acceptable values). |
boolean |
isNumericRangeMaximumSet()
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for a maximum value of the NumericRange. |
boolean |
isNumericRangeMinimumExclusive()
Returns a boolean indicating whether the minimum value of the NumericRange is exclusive (the value should not be contained within the range of acceptable values). |
boolean |
isNumericRangeMinimumSet()
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for a minimum value of the NumericRange. |
void |
removeEnumerationItem(EnumerationItem item)
Remove an item from the enumeration data. |
void |
removeIntegerRange()
Remove the Integer range setting from the configuration. |
void |
removeNumericRange()
Remove the numeric range from this configuration. |
void |
removeNumericRangeMaximum()
Remove the numeric range maximum for the configuration. |
void |
removeNumericRangeMinimum()
Remove the numeric range minimum for the configuration. |
void |
setEnumerationData(List list)
Creates a list of enumeration values and adds an entry to the internal map for the Enumeration data type. |
void |
setEnumerationOptions(Map map)
|
void |
setEnumerationOthersAllowed(boolean allowed)
Sets the option to allow other choices besides those specifically enumerated. |
void |
setIntegerRange(int minimum,
int maximum)
Set the integer range setting for the configuration. |
void |
setIntegerRange(Map map)
Creates a map of integer values and adds an entry to the internal map for the IntegerRange data type. |
void |
setIntegerRangeIncrement(int increment)
Set the integer range increment. |
void |
setIntegerRangeMaximum(int maximum)
Set the integer range maximum for this configuration. |
void |
setIntegerRangeMinimum(int minimum)
Set the integer range minimum for this configuration. |
void |
setNumericRange(Map map)
Creates a map of numeric values and adds an entry to the internal map for the NumericRange data type. |
void |
setNumericRange(Number minimum,
Number maximum)
Set the numeric range for this configuration. |
void |
setNumericRangeExclusive(Number minimum,
Number maximum)
Set then numeric range for this configuration. |
void |
setNumericRangeIncrement(Number increment)
Set the new increment for the numeric range. |
void |
setNumericRangeMaximum(Number maximum)
Set the new numeric range maximum inclusive. |
void |
setNumericRangeMaximumExclusive(Number maximum)
Set the new exclusive maximum for the configuration. |
void |
setNumericRangeMinimum(Number minimum)
Set the new inclusive minimum for the numeric range for this configuration. |
void |
setNumericRangeMinimumExclusive(Number minimum)
Set the new exclusive minimum for the numeric range. |
void |
setSelectionRange(Map map)
|
void |
setStringLengthMaximum(int maximum)
Set the maximum allowed string length for this configuration. |
void |
setStringLengthMimimum(int minimum)
Set the minimum allowed string length for this configuration. |
void |
setStringLengthRange(int minimum,
int maximum)
Set the string length range for this configuration. |
void |
setStringLengthRange(Map map)
Set the string length map containing the values for the string length range "min" and "max". |
| Methods inherited from interface com.sas.services.information.metadata.TextStoreInterface |
getText, getTextRole, getTextType, setText, setTextRole, setTextType |
| Field Detail |
public static final String ROLESTRING
public static final String TYPESTRING
| Method Detail |
public List getEnumerationItems()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public List getEnumerationTextLabels()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public List getEnumerationTextLabels(Locale locale)
throws ServiceException,
RemoteException
locale - the locale with which the text label is associated.
This parameter may be null.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public List getEnumerationValues()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setEnumerationData(List list)
throws ServiceException,
RemoteException
list - list of valuesServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void addEnumerationItem(EnumerationItem item)
throws ServiceException,
RemoteException
item - The new EnumerationItem to add to the configuration object.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void removeEnumerationItem(EnumerationItem item)
throws ServiceException,
RemoteException
item - The EnumerationItem to remove from the configuration.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public Map getEnumerationValuesLabelsMap(Locale locale)
throws ServiceException,
RemoteException
locale - the locale with which the text label is associated.
This parameter may be null.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public boolean hasUniqueTextLabels(Locale locale)
throws ServiceException,
RemoteException
locale - the locale with which the text label is associated.
This parameter may be null.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public boolean isEnumerationOthersAllowed()
throws ServiceException,
RemoteException
isEnumerationOthersAllowedSet()
Otherwise, an exception could occur if:
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject();
boolean isAttributeSet = isEnumerationOthersAllowedSet;
if (attributeSet){
boolean attributeValue = isEnumerationOthersAllowed();
}
IllegalArgumentException - if isOthersAllowed attribute does not existServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public boolean isEnumerationOthersAllowedSet()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setEnumerationOthersAllowed(boolean allowed)
throws ServiceException,
RemoteException
allowed - True if other options are allowed.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public Map getIntegerRange()
throws ServiceException,
RemoteException
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject();
Map intValuesMap = parsedObject.getIntegerRange();
if (intValuesMap != null){
if (parsedObject.isIntegerRangeMinimumSet())
int minimum = parsedObject.getIntegerRangeMinimum();
if (parsedObject.isIntegerRangeMaximumSet())
int maximum = parsedObject.getIntegerRangeMaximum();
if (parsedObject.isIntegerRangeIncrementSet())
int increment = parsedObject.getIntegerRangeIncrement();
}
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public int getIntegerRangeIncrement()
throws ServiceException,
RemoteException
isIntegerRangeMinimumSet()
Otherwise, an exception could occur if:
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject();
Map intValuesMap = parsedObject.getIntegerRange();
if (intValuesMap != null){
if (parsedObject.isIntegerRangeMinimumSet())
int minimum = parsedObject.getIntegerRangeMinimum();
}
IllegalArgumentException - if minimum value does not existServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public int getIntegerRangeMaximum()
throws ServiceException,
RemoteException
isIntegerRangeMaximumSet
Otherwise, an exception could occur if:
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject();
Map intValuesMap = parsedObject.getIntegerRange();
if (intValuesMap != null){
if (parsedObject.isIntegerRangeMaximumSet())
int maximum = parsedObject.getIntegerRangeMaximum();
}
IllegalArgumentException - if maximum value does not existServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public int getIntegerRangeMinimum()
throws ServiceException,
RemoteException
isIntegerRangeMinimumSet()
Otherwise, an exception could occur if:
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject();
Map intValuesMap = parsedObject.getIntegerRange();
if (intValuesMap != null){
if (parsedObject.isIntegerRangeMinimumSet())
int minimum = parsedObject.getIntegerRangeMinimum();
}
IllegalArgumentException - if minimum value does not existServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public boolean isIntegerRangeIncrementSet()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public boolean isIntegerRangeMaximumSet()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public boolean isIntegerRangeMinimumSet()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void removeIntegerRange()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setIntegerRange(int minimum,
int maximum)
throws ServiceException,
RemoteException
minimum - The minimum setting for the integer range.maximum - The maximum setting for the integer range.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setIntegerRangeMinimum(int minimum)
throws ServiceException,
RemoteException
minimum - The new minimum for the configuration.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setIntegerRangeMaximum(int maximum)
throws ServiceException,
RemoteException
maximum - The new maximum for this configuration.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setIntegerRangeIncrement(int increment)
throws ServiceException,
RemoteException
increment - The increment for the integer range for this configuration.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setIntegerRange(Map map)
throws ServiceException,
RemoteException
map - key-value pairs (minimum/maximum/increment, integer value).ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public Map getNumericRange()
throws ServiceException,
RemoteException
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject();
Map numericValuesMap = parsedObject.getNumericRange();
if (numericValuesMap != null){
if (parsedObject.isNumericRangeMinimumSet())
int minimum = parsedObject.getNumericRangeMinimum();
if (parsedObject.isNumericRangeMaximumSet())
int maximum = parsedObject.getNumericRangeMaximum();
}
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public Number getNumericRangeIncrement()
throws ServiceException,
RemoteException
isNumericRangeIncrementSet()
Otherwise, an exception could occur if:
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject();
Map numericValuesMap = parsedObject.getNumericRange();
if (numericValuesMap != null){
if (parsedObject.isNumericRangeIncrementSet())
double maximum = parsedObject.getNumericRangeIncrement();
}
IllegalArgumentException - if maximum value does not existServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public Number getNumericRangeMaximum()
throws ServiceException,
RemoteException
isNumericRangeMaximumSet()
Otherwise, an exception could occur if:
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject();
Map intValuesMap = parsedObject.getNumericRange();
if (intValuesMap != null){
if (parsedObject.isNumericRangeMaximumSet())
int maximum = parsedObject.getNumericRangeMaximum();
}
IllegalArgumentException - if maximum value does not exist.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public Number getNumericRangeMinimum()
throws ServiceException,
RemoteException
isNumericRangeMinimumSet()
Otherwise, an exception could occur if:
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject();
Map intValuesMap = parsedObject.getNumericRange();
if (intValuesMap != null){
if (isNumericRangeMinimumSet())
int minimum = parsedObject.getNumericRangeMinimum();
}
IllegalArgumentException - if minimum value does not existServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public boolean isNumericRangeIncrementSet()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public boolean isNumericRangeMaximumExclusive()
throws ServiceException,
RemoteException
isNumericRangeMaximumSet()
Otherwise, an exception could occur if:
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public boolean isNumericRangeMaximumSet()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public boolean isNumericRangeMinimumExclusive()
throws ServiceException,
RemoteException
isNumericRangeMinimumSet()
Otherwise, an exception could occur if:
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public boolean isNumericRangeMinimumSet()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void removeNumericRangeMaximum()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void removeNumericRangeMinimum()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void removeNumericRange()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setNumericRange(Number minimum,
Number maximum)
throws ServiceException,
RemoteException
minimum - The new minimum value for the numeric range.maximum - The new maximum value for the numeric range.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setNumericRangeExclusive(Number minimum,
Number maximum)
throws ServiceException,
RemoteException
minimum - The new exclusive minimum for the numeric range.maximum - The new exclusive maximum for the numeric range.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setNumericRangeMaximumExclusive(Number maximum)
throws ServiceException,
RemoteException
maximum - The new maximum (exclusive).ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setNumericRangeMaximum(Number maximum)
throws ServiceException,
RemoteException
maximum - The new inclusive maximum for the numeric range.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setNumericRangeMinimumExclusive(Number minimum)
throws ServiceException,
RemoteException
minimum - The new exclusive minimum value for the numeric range.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setNumericRangeMinimum(Number minimum)
throws ServiceException,
RemoteException
minimum - The new inclusive minimum value for the numeric range.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setNumericRangeIncrement(Number increment)
throws ServiceException,
RemoteException
increment - The new numeric range increment.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setNumericRange(Map map)
throws ServiceException,
RemoteException
map - key-value pairs (minimum/maximum, numeric value)ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public Map getSelectionRange()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setSelectionRange(Map map)
throws ServiceException,
RemoteException
public void setEnumerationOptions(Map map)
throws ServiceException,
RemoteException
public Map getStringLengthRange()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setStringLengthRange(Map map)
throws ServiceException,
RemoteException
map - The map containing the "min" and "max" values for the string length.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public int getStringLengthMaximum()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public int getStringLengthMinimum()
throws ServiceException,
RemoteException
ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setStringLengthMaximum(int maximum)
throws ServiceException,
RemoteException
maximum - The new maximum string length.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setStringLengthMimimum(int minimum)
throws ServiceException,
RemoteException
minimum - The new minimum string length.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
public void setStringLengthRange(int minimum,
int maximum)
throws ServiceException,
RemoteException
minimum - The minimum string length.maximum - The maximum string length.ServiceException - If a repository or service level error occurs.RemoteException - In the event of remote object failure.
|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||