|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurationXMLTextStoreInterface
Field Summary | |
---|---|
static java.lang.String |
ROLESTRING
String to use as TextRole attribute for TextStore objects that contain configuration XML. |
static java.lang.String |
TYPESTRING
String to use as TextType for TextStore objects that contain XML |
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
Method Summary | |
---|---|
void |
addEnumerationItem(com.sas.services.information.metadata.configpersist.EnumerationItem item)
Add an item to the enumeration data. |
java.util.List |
getEnumerationItems()
Returns a list of EnumerationItem objects or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type. |
java.util.List |
getEnumerationTextLabels()
Returns a list of enumeration text labels or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type. |
java.util.List |
getEnumerationTextLabels(java.util.Locale locale)
Returns a list of enumeration text labels or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type. |
java.util.List |
getEnumerationValues()
Returns a list of enumeration values or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type. |
java.util.Map |
getEnumerationValuesLabelsMap(java.util.Locale locale)
Returns a map consisting of values and their corresponding labels |
java.util.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. |
java.util.Map |
getNumericRange()
Returns a map containg limits for numeric data or null if the ParsedConfigurationXMLObject does not contain a NumericRange data type. |
java.lang.Number |
getNumericRangeIncrement()
Returns the increment of the NumericRange. |
java.lang.Number |
getNumericRangeMaximum()
Returns the maximum value of the NumericRange. |
java.lang.Number |
getNumericRangeMinimum()
Returns the minimum value of the NumericRange. |
java.util.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. |
java.util.Map |
getStringLengthRange()
Get the string length range as a Map with a "min" and "max" value. |
boolean |
hasUniqueTextLabels(java.util.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(com.sas.services.information.metadata.configpersist.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(java.util.List list)
Creates a list of enumeration values and adds an entry to the internal map for the Enumeration data type. |
void |
setEnumerationOptions(java.util.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(java.util.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(java.util.Map map)
Creates a map of numeric values and adds an entry to the internal map for the NumericRange data type. |
void |
setNumericRange(java.lang.Number minimum,
java.lang.Number maximum)
Set the numeric range for this configuration. |
void |
setNumericRangeExclusive(java.lang.Number minimum,
java.lang.Number maximum)
Set then numeric range for this configuration. |
void |
setNumericRangeIncrement(java.lang.Number increment)
Set the new increment for the numeric range. |
void |
setNumericRangeMaximum(java.lang.Number maximum)
Set the new numeric range maximum inclusive. |
void |
setNumericRangeMaximumExclusive(java.lang.Number maximum)
Set the new exclusive maximum for the configuration. |
void |
setNumericRangeMinimum(java.lang.Number minimum)
Set the new inclusive minimum for the numeric range for this configuration. |
void |
setNumericRangeMinimumExclusive(java.lang.Number minimum)
Set the new exclusive minimum for the numeric range. |
void |
setSelectionRange(java.util.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(java.util.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 |
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
Field Detail |
---|
static final java.lang.String ROLESTRING
static final java.lang.String TYPESTRING
Method Detail |
---|
java.util.List getEnumerationItems() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getEnumerationTextLabels() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getEnumerationTextLabels(java.util.Locale locale) throws ServiceException, java.rmi.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.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getEnumerationValues() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setEnumerationData(java.util.List list) throws ServiceException, java.rmi.RemoteException
list
- list of values
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void addEnumerationItem(com.sas.services.information.metadata.configpersist.EnumerationItem item) throws ServiceException, java.rmi.RemoteException
item
- The new EnumerationItem to add to the configuration object.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void removeEnumerationItem(com.sas.services.information.metadata.configpersist.EnumerationItem item) throws ServiceException, java.rmi.RemoteException
item
- The EnumerationItem to remove from the configuration.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.Map getEnumerationValuesLabelsMap(java.util.Locale locale) throws ServiceException, java.rmi.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.
java.rmi.RemoteException
- In the event of remote object failure.boolean hasUniqueTextLabels(java.util.Locale locale) throws ServiceException, java.rmi.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.
java.rmi.RemoteException
- In the event of remote object failure.boolean isEnumerationOthersAllowed() throws ServiceException, java.rmi.RemoteException
isEnumerationOthersAllowedSet()
Otherwise, an exception could occur if:
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject(); boolean isAttributeSet = isEnumerationOthersAllowedSet; if (attributeSet){ boolean attributeValue = isEnumerationOthersAllowed(); }
java.lang.IllegalArgumentException
- if isOthersAllowed attribute does not exist
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.boolean isEnumerationOthersAllowedSet() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setEnumerationOthersAllowed(boolean allowed) throws ServiceException, java.rmi.RemoteException
allowed
- True if other options are allowed.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.Map getIntegerRange() throws ServiceException, java.rmi.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.
java.rmi.RemoteException
- In the event of remote object failure.int getIntegerRangeIncrement() throws ServiceException, java.rmi.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(); }
java.lang.IllegalArgumentException
- if minimum value does not exist
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.int getIntegerRangeMaximum() throws ServiceException, java.rmi.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(); }
java.lang.IllegalArgumentException
- if maximum value does not exist
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.int getIntegerRangeMinimum() throws ServiceException, java.rmi.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(); }
java.lang.IllegalArgumentException
- if minimum value does not exist
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.boolean isIntegerRangeIncrementSet() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.boolean isIntegerRangeMaximumSet() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.boolean isIntegerRangeMinimumSet() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void removeIntegerRange() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setIntegerRange(int minimum, int maximum) throws ServiceException, java.rmi.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.
java.rmi.RemoteException
- In the event of remote object failure.void setIntegerRangeMinimum(int minimum) throws ServiceException, java.rmi.RemoteException
minimum
- The new minimum for the configuration.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setIntegerRangeMaximum(int maximum) throws ServiceException, java.rmi.RemoteException
maximum
- The new maximum for this configuration.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setIntegerRangeIncrement(int increment) throws ServiceException, java.rmi.RemoteException
increment
- The increment for the integer range for this configuration.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setIntegerRange(java.util.Map map) throws ServiceException, java.rmi.RemoteException
map
- key-value pairs (minimum/maximum/increment, integer value).
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.Map getNumericRange() throws ServiceException, java.rmi.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.
java.rmi.RemoteException
- In the event of remote object failure.java.lang.Number getNumericRangeIncrement() throws ServiceException, java.rmi.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(); }
java.lang.IllegalArgumentException
- if maximum value does not exist
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.lang.Number getNumericRangeMaximum() throws ServiceException, java.rmi.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(); }
java.lang.IllegalArgumentException
- if maximum value does not exist.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.lang.Number getNumericRangeMinimum() throws ServiceException, java.rmi.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(); }
java.lang.IllegalArgumentException
- if minimum value does not exist
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.boolean isNumericRangeIncrementSet() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.boolean isNumericRangeMaximumExclusive() throws ServiceException, java.rmi.RemoteException
isNumericRangeMaximumSet()
Otherwise, an exception could occur if:
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.boolean isNumericRangeMaximumSet() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.boolean isNumericRangeMinimumExclusive() throws ServiceException, java.rmi.RemoteException
isNumericRangeMinimumSet()
Otherwise, an exception could occur if:
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.boolean isNumericRangeMinimumSet() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void removeNumericRangeMaximum() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void removeNumericRangeMinimum() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void removeNumericRange() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setNumericRange(java.lang.Number minimum, java.lang.Number maximum) throws ServiceException, java.rmi.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.
java.rmi.RemoteException
- In the event of remote object failure.void setNumericRangeExclusive(java.lang.Number minimum, java.lang.Number maximum) throws ServiceException, java.rmi.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.
java.rmi.RemoteException
- In the event of remote object failure.void setNumericRangeMaximumExclusive(java.lang.Number maximum) throws ServiceException, java.rmi.RemoteException
maximum
- The new maximum (exclusive).
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setNumericRangeMaximum(java.lang.Number maximum) throws ServiceException, java.rmi.RemoteException
maximum
- The new inclusive maximum for the numeric range.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setNumericRangeMinimumExclusive(java.lang.Number minimum) throws ServiceException, java.rmi.RemoteException
minimum
- The new exclusive minimum value for the numeric range.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setNumericRangeMinimum(java.lang.Number minimum) throws ServiceException, java.rmi.RemoteException
minimum
- The new inclusive minimum value for the numeric range.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setNumericRangeIncrement(java.lang.Number increment) throws ServiceException, java.rmi.RemoteException
increment
- The new numeric range increment.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setNumericRange(java.util.Map map) throws ServiceException, java.rmi.RemoteException
map
- key-value pairs (minimum/maximum, numeric value)
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.Map getSelectionRange() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setSelectionRange(java.util.Map map) throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
void setEnumerationOptions(java.util.Map map) throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
java.util.Map getStringLengthRange() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setStringLengthRange(java.util.Map map) throws ServiceException, java.rmi.RemoteException
map
- The map containing the "min" and "max" values for the string length.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.int getStringLengthMaximum() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.int getStringLengthMinimum() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setStringLengthMaximum(int maximum) throws ServiceException, java.rmi.RemoteException
maximum
- The new maximum string length.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setStringLengthMimimum(int minimum) throws ServiceException, java.rmi.RemoteException
minimum
- The new minimum string length.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setStringLengthRange(int minimum, int maximum) throws ServiceException, java.rmi.RemoteException
minimum
- The minimum string length.maximum
- The maximum string length.
ServiceException
- If a repository or service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |