*** This interface provides Binary Compatibility only, not Source Compatibility ***
Interface ConfigurationXMLTextStoreInterface
- All Superinterfaces:
MetadataInterface,PublicObjectInterface,Remote,TextStoreInterface
@SASScope("ALL")
@BinaryCompatibilityOnly
public interface ConfigurationXMLTextStoreInterface
extends TextStoreInterface
- Since:
- 1.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringString to use as TextRole attribute for TextStore objects that contain configuration XML.static final StringString to use as TextType for TextStore objects that contain XMLFields 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
Modifier and TypeMethodDescriptionvoidaddEnumerationItem(EnumerationItem item) Add an item to the enumeration data.ListReturns a list of EnumerationItem objects or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type.ListReturns a list of enumeration text labels or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type.ListgetEnumerationTextLabels(Locale locale) Returns a list of enumeration text labels or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type.ListReturns a list of enumeration values or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type.MapgetEnumerationValuesLabelsMap(Locale locale) Returns a map consisting of values and their corresponding labelsMapReturns a map containing limits for integer data or null if the ParsedConfigurationXMLObject does not contain an IntegerRange data type.intReturns the minimum value of the IntegerRange.intReturns the maximum value of the IntegerRange.intReturns the minimum value of the IntegerRange.MapReturns a map containg limits for numeric data or null if the ParsedConfigurationXMLObject does not contain a NumericRange data type.NumberReturns the increment of the NumericRange.NumberReturns the maximum value of the NumericRange.NumberReturns the minimum value of the NumericRange.MapGet the selection range.intGet the maximum string length for this configuration.intGet the minimum allowed string length for this configuration.MapGet the string length range as a Map with a "min" and "max" value.booleanhasUniqueTextLabels(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 labelbooleanReturns the value of the isOthersAllowed attribute of an Enumeration.booleanReturns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for the isOthersAllowed attribute of Enumeration.booleanReturns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for an increment of the IntegerRange.booleanReturns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for an increment of the IntegerRange.booleanReturns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for a minimum value of the IntegerRange.booleanReturns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for an increment of the NumericRange.booleanReturns a boolean indicating whether the maximum value of the NumericRange is exclusive (the value should not be contained within the range of acceptable values).booleanReturns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for a maximum value of the NumericRange.booleanReturns a boolean indicating whether the minimum value of the NumericRange is exclusive (the value should not be contained within the range of acceptable values).booleanReturns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for a minimum value of the NumericRange.voidremoveEnumerationItem(EnumerationItem item) Remove an item from the enumeration data.voidRemove the Integer range setting from the configuration.voidRemove the numeric range from this configuration.voidRemove the numeric range maximum for the configuration.voidRemove the numeric range minimum for the configuration.voidsetEnumerationData(List list) Creates a list of enumeration values and adds an entry to the internal map for the Enumeration data type.voidsetEnumerationOptions(Map map) voidsetEnumerationOthersAllowed(boolean allowed) Sets the option to allow other choices besides those specifically enumerated.voidsetIntegerRange(int minimum, int maximum) Set the integer range setting for the configuration.voidsetIntegerRange(Map map) Creates a map of integer values and adds an entry to the internal map for the IntegerRange data type.voidsetIntegerRangeIncrement(int increment) Set the integer range increment.voidsetIntegerRangeMaximum(int maximum) Set the integer range maximum for this configuration.voidsetIntegerRangeMinimum(int minimum) Set the integer range minimum for this configuration.voidsetNumericRange(Number minimum, Number maximum) Set the numeric range for this configuration.voidsetNumericRange(Map map) Creates a map of numeric values and adds an entry to the internal map for the NumericRange data type.voidsetNumericRangeExclusive(Number minimum, Number maximum) Set then numeric range for this configuration.voidsetNumericRangeIncrement(Number increment) Set the new increment for the numeric range.voidsetNumericRangeMaximum(Number maximum) Set the new numeric range maximum inclusive.voidsetNumericRangeMaximumExclusive(Number maximum) Set the new exclusive maximum for the configuration.voidsetNumericRangeMinimum(Number minimum) Set the new inclusive minimum for the numeric range for this configuration.voidsetNumericRangeMinimumExclusive(Number minimum) Set the new exclusive minimum for the numeric range.voidsetSelectionRange(Map map) voidsetStringLengthMaximum(int maximum) Set the maximum allowed string length for this configuration.voidsetStringLengthMimimum(int minimum) Set the minimum allowed string length for this configuration.voidsetStringLengthRange(int minimum, int maximum) Set the string length range for this configuration.voidsetStringLengthRange(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.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptorMethods inherited from interface com.sas.services.information.metadata.TextStoreInterface
containsBytes, getBytes, getText, getTextRole, getTextType, setBytes, setText, setTextRole, setTextType
-
Field Details
-
ROLESTRING
static final String ROLESTRINGString to use as TextRole attribute for TextStore objects that contain configuration XML.- See Also:
-
TYPESTRING
static final String TYPESTRINGString to use as TextType for TextStore objects that contain XML- See Also:
-
-
Method Details
-
getEnumerationItems
Returns a list of EnumerationItem objects or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type.- Returns:
- A List of EnumerationItems or null.
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getEnumerationTextLabels
Returns a list of enumeration text labels or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type.- Returns:
- list consisting of enumeration text labels
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getEnumerationTextLabels
Returns a list of enumeration text labels or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type.- Parameters:
locale- the locale with which the text label is associated. This parameter may be null.- Returns:
- list consisting of enumeration text labels
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getEnumerationValues
Returns a list of enumeration values or null if the ParsedConfigurationXMLObject does not contain an Enumeration data type.- Returns:
- list consisting of enumeration values
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setEnumerationData
Creates a list of enumeration values and adds an entry to the internal map for the Enumeration data type. This method is not intended for general use; it is called by the ConfigurationXMLPersistenceUtility.- Parameters:
list- list of values- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
addEnumerationItem
Add an item to the enumeration data.- Parameters:
item- The new EnumerationItem to add to the configuration object.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
removeEnumerationItem
Remove an item from the enumeration data.- Parameters:
item- The EnumerationItem to remove from the configuration.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getEnumerationValuesLabelsMap
Returns a map consisting of values and their corresponding labels- Parameters:
locale- the locale with which the text label is associated. This parameter may be null.- Returns:
- named value pairs (value, label)
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
hasUniqueTextLabels
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- Parameters:
locale- the locale with which the text label is associated. This parameter may be null.- Returns:
- boolean indicating whether values and labels are identical
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
isEnumerationOthersAllowed
Returns the value of the isOthersAllowed attribute of an Enumeration. Before invoking this method, be sure to check that the Enumeration contains an entry for isOthersAllowed by callingisEnumerationOthersAllowedSet()Otherwise, an exception could occur if:- the ParsedConfigurationXMLObject does not contain an Enumeration data type
- the Enumeration data type does not contain an isOthersAllowed attribute
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject(); boolean isAttributeSet = isEnumerationOthersAllowedSet; if (attributeSet){ boolean attributeValue = isEnumerationOthersAllowed(); }- Returns:
- true if the Enumeration allows other values than those listed; false otherwise
- Throws:
IllegalArgumentException- if isOthersAllowed attribute does not existServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
isEnumerationOthersAllowedSet
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for the isOthersAllowed attribute of Enumeration. This method will return true if an isOthersAllowed entry exists for the Enumeration and will return false if:- the ParsedConfigurationXMLObject contains an Enumeration data type but the Enumeration does not have an isOthersAllowed attribute
- the ParsedConfigurationXMLObject does not contain an Enumeration data type
- Returns:
- true if isOthersAllowed has been defined; false otherwise
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setEnumerationOthersAllowed
Sets the option to allow other choices besides those specifically enumerated.- Parameters:
allowed- True if other options are allowed.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getIntegerRange
Returns a map containing limits for integer data or null if the ParsedConfigurationXMLObject does not contain an IntegerRange data type. The IntegerRange data type may contain either or both a minimum and maximum value. The map returned can be iterated to obtain the values or other methods can be called to obtain minimum/maximum valuesParsedConfigurationXMLObject 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(); }- Returns:
- map of integer values or null
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getIntegerRangeIncrement
Returns the minimum value of the IntegerRange. Before invoking this method, be sure to check that the IntegerRange contains an entry for the minimum value by callingisIntegerRangeMinimumSet()Otherwise, an exception could occur if:- the ParsedConfigurationXMLObject does not contain an IntegerRange data type
- the IntegerRange data type does not contain a minimum value
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject(); Map intValuesMap = parsedObject.getIntegerRange(); if (intValuesMap != null){ if (parsedObject.isIntegerRangeMinimumSet()) int minimum = parsedObject.getIntegerRangeMinimum(); }- Returns:
- minimum value
- Throws:
IllegalArgumentException- if minimum value does not existServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getIntegerRangeMaximum
Returns the maximum value of the IntegerRange. Before invoking this method, be sure to check that the IntegerRange contains an entry for the maximum value by callingisIntegerRangeMaximumSetOtherwise, an exception could occur if:- the ParsedConfigurationXMLObject does not contain an IntegerRange data type
- the IntegerRange data type does not contain a maximum value
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject(); Map intValuesMap = parsedObject.getIntegerRange(); if (intValuesMap != null){ if (parsedObject.isIntegerRangeMaximumSet()) int maximum = parsedObject.getIntegerRangeMaximum(); }- Returns:
- maximum value
- Throws:
IllegalArgumentException- if maximum value does not existServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getIntegerRangeMinimum
Returns the minimum value of the IntegerRange. Before invoking this method, be sure to check that the IntegerRange contains an entry for the minimum value by callingisIntegerRangeMinimumSet()Otherwise, an exception could occur if:- the ParsedConfigurationXMLObject does not contain an IntegerRange data type
- the IntegerRange data type does not contain a minimum value
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject(); Map intValuesMap = parsedObject.getIntegerRange(); if (intValuesMap != null){ if (parsedObject.isIntegerRangeMinimumSet()) int minimum = parsedObject.getIntegerRangeMinimum(); }- Returns:
- minimum value
- Throws:
IllegalArgumentException- if minimum value does not existServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
isIntegerRangeIncrementSet
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for an increment of the IntegerRange. This method will return true if an increment entry exists for the IntegerRange and will return false if:- the ParsedConfigurationXMLObject contains an IntegerRange data type but the IntegerRange does not have an increment value
- the ParsedConfigurationXMLObject does not contain an IntegerRange data type
- Returns:
- true if an increment has been defined; false otherwise
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
isIntegerRangeMaximumSet
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for an increment of the IntegerRange. This method will return true if an increment entry exists for the IntegerRange and will return false if:- the ParsedConfigurationXMLObject contains an IntegerRange data type but the IntegerRange does not have an increment value
- the ParsedConfigurationXMLObject does not contain an IntegerRange data type
- Returns:
- true if an increment has been defined; false otherwise
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
isIntegerRangeMinimumSet
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for a minimum value of the IntegerRange. This method will return true if a minimum value entry exists for the IntegerRange and will return false if:- the ParsedConfigurationXMLObject contains an IntegerRange data type but the IntegerRange does not have a minimum value
- the ParsedConfigurationXMLObject does not contain an IntegerRange data type
- Returns:
- true if minimum value has been defined; false otherwise
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
removeIntegerRange
Remove the Integer range setting from the configuration.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setIntegerRange
Set the integer range setting for the configuration.- Parameters:
minimum- The minimum setting for the integer range.maximum- The maximum setting for the integer range.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setIntegerRangeMinimum
Set the integer range minimum for this configuration.- Parameters:
minimum- The new minimum for the configuration.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setIntegerRangeMaximum
Set the integer range maximum for this configuration.- Parameters:
maximum- The new maximum for this configuration.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setIntegerRangeIncrement
Set the integer range increment.- Parameters:
increment- The increment for the integer range for this configuration.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setIntegerRange
Creates a map of integer values and adds an entry to the internal map for the IntegerRange data type. This method is not intended for general use; it is called by the ConfigurationXMLPersistenceUtility.- Parameters:
map- key-value pairs (minimum/maximum/increment, integer value).- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getNumericRange
Returns a map containg limits for numeric data or null if the ParsedConfigurationXMLObject does not contain a NumericRange data type. The NumericRange data type may contain either or both a minimum and maximum value. The map returned can be iterated to obtain the values or other methods can be called to obtain minimum/ maximum valuesParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject(); Map numericValuesMap = parsedObject.getNumericRange(); if (numericValuesMap != null){ if (parsedObject.isNumericRangeMinimumSet()) int minimum = parsedObject.getNumericRangeMinimum(); if (parsedObject.isNumericRangeMaximumSet()) int maximum = parsedObject.getNumericRangeMaximum(); }- Returns:
- map of numeric values or null.
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getNumericRangeIncrement
Returns the increment of the NumericRange. Before invoking this method, be sure to check that the NumericRange contains an entry for the increment by callingisNumericRangeIncrementSet()Otherwise, an exception could occur if:- the ParsedConfigurationXMLObject does not contain a NumericRange data type
- the NumericRange data type does not contain an increment value
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject(); Map numericValuesMap = parsedObject.getNumericRange(); if (numericValuesMap != null){ if (parsedObject.isNumericRangeIncrementSet()) double maximum = parsedObject.getNumericRangeIncrement(); }- Returns:
- numeric range increment value.
- Throws:
IllegalArgumentException- if maximum value does not existServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getNumericRangeMaximum
Returns the maximum value of the NumericRange. Before invoking this method, be sure to check that the NumericRange contains an entry for the maximum value by callingisNumericRangeMaximumSet()Otherwise, an exception could occur if:- the ParsedConfigurationXMLObject does not contain a NumericRange data type
- the NumericRange data type does not contain a maximum value
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject(); Map intValuesMap = parsedObject.getNumericRange(); if (intValuesMap != null){ if (parsedObject.isNumericRangeMaximumSet()) int maximum = parsedObject.getNumericRangeMaximum(); }- Returns:
- The maximum value in the allowable numeric range.
- Throws:
IllegalArgumentException- if maximum value does not exist.ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getNumericRangeMinimum
Returns the minimum value of the NumericRange. Before invoking this method, be sure to check that the NumericRange contains an entry for the minimum value by callingisNumericRangeMinimumSet()Otherwise, an exception could occur if:- the ParsedConfigurationXMLObject does not contain a NumericRange data type
- the NumericRange data type does not contain a minimum value
ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject(); Map intValuesMap = parsedObject.getNumericRange(); if (intValuesMap != null){ if (isNumericRangeMinimumSet()) int minimum = parsedObject.getNumericRangeMinimum(); }- Returns:
- minimum value.
- Throws:
IllegalArgumentException- if minimum value does not existServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
isNumericRangeIncrementSet
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for an increment of the NumericRange. This method will return true if an increment entry exists for the NumericRange and will return false if:- the ParsedConfigurationXMLObject contains a NumericRange data type but the NumericRange does not have an increment value
- the ParsedConfigurationXMLObject does not contain a NumericRange data type
- Returns:
- true if increment value has been defined; false otherwise.
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
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). This method will return true if the maximum value is exclusive and false otherwise. Before invoking this method, be sure to check that the NumericRange contains an entry for the maximum value by callingisNumericRangeMaximumSet()Otherwise, an exception could occur if:- the ParsedConfigurationXMLObject contains a NumericRange data type but the NumericRange does not have a maximum value
- the ParsedConfigurationXMLObject does not contain a NumericRange data type ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject(); Map numericValuesMap = parsedObject.getNumericRange(); if (numericValuesMap != null){ if (parsedObject.isNumericRangeMaximumSet()) double maximum = parsedObject.getNumericRangeMaximum(); if (parsedObject.isNumericRangeMaximumExclusive()) ... exclude the value }
- Returns:
- true if maximum value is exclusive; false otherwise.
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
isNumericRangeMaximumSet
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for a maximum value of the NumericRange. This method will return true if a maximum value entry exists for the NumericRange and will return false if:- the ParsedConfigurationXMLObject contains a NumericRange data type but the NumericRange does not have a maximum value
- the ParsedConfigurationXMLObject does not contain a NumericRange data type
- Returns:
- true if maximum value has been defined; false otherwise.
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
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). This method will return true if the minimum value is exclusive and false otherwise. Before invoking this method, be sure to check that the NumericRange contains an entry for the minimum value by callingisNumericRangeMinimumSet()Otherwise, an exception could occur if:- the ParsedConfigurationXMLObject contains a NumericRange data type but the NumericRange does not have a minimum value
- the ParsedConfigurationXMLObject does not contain a NumericRange data type ParsedConfigurationXMLObject parsedObject = ConfigurationXMLPersistenceUtility.createParsedConfigurationXMLObject(); Map numericValuesMap = parsedObject.getNumericRange(); if (numericValuesMap != null){ if (parsedObject.isNumericRangeMinimumSet()) double minimum = parsedObject.getNumericRangeMinimum(); if (parsedObject.isisNumericMinimumExclusive()) ...exclude the value }
- Returns:
- true if minimum value is exclusive; false otherwise
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
isNumericRangeMinimumSet
Returns a boolean indicating whether the ParsedConfigurationXMLObject contains an entry for a minimum value of the NumericRange. This method will return true if a minimum value entry exists for the NumericRange and will return false if:- the ParsedConfigurationXMLObject contains a NumericRange data type but the NumericRange does not have a minimum value
- the ParsedConfigurationXMLObject does not contain a NumericRange data type
- Returns:
- true if minimum value has been defined; false otherwise
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
removeNumericRangeMaximum
Remove the numeric range maximum for the configuration.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
removeNumericRangeMinimum
Remove the numeric range minimum for the configuration.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
removeNumericRange
Remove the numeric range from this configuration.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setNumericRange
Set the numeric range for this configuration. The new range will be inclusive (the minimum and maximum are valid values).- Parameters:
minimum- The new minimum value for the numeric range.maximum- The new maximum value for the numeric range.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setNumericRangeExclusive
void setNumericRangeExclusive(Number minimum, Number maximum) throws ServiceException, RemoteException Set then numeric range for this configuration. The new range will be exclusive (the minimum and maximum are not valid values).- Parameters:
minimum- The new exclusive minimum for the numeric range.maximum- The new exclusive maximum for the numeric range.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setNumericRangeMaximumExclusive
Set the new exclusive maximum for the configuration.- Parameters:
maximum- The new maximum (exclusive).- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setNumericRangeMaximum
Set the new numeric range maximum inclusive.- Parameters:
maximum- The new inclusive maximum for the numeric range.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setNumericRangeMinimumExclusive
Set the new exclusive minimum for the numeric range.- Parameters:
minimum- The new exclusive minimum value for the numeric range.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setNumericRangeMinimum
Set the new inclusive minimum for the numeric range for this configuration.- Parameters:
minimum- The new inclusive minimum value for the numeric range.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setNumericRangeIncrement
Set the new increment for the numeric range.- Parameters:
increment- The new numeric range increment.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setNumericRange
Creates a map of numeric values and adds an entry to the internal map for the NumericRange data type. This method is not intended for general use; it is called by the ConfigurationXMLPersistenceUtility.- Parameters:
map- key-value pairs (minimum/maximum, numeric value)- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getSelectionRange
Get the selection range.- Returns:
- A map with the minimum and maximum selection.
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setSelectionRange
- Throws:
ServiceExceptionRemoteException
-
setEnumerationOptions
- Throws:
ServiceExceptionRemoteException
-
getStringLengthRange
Get the string length range as a Map with a "min" and "max" value.- Returns:
- The string length range map or null if no string length range is set.
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setStringLengthRange
Set the string length map containing the values for the string length range "min" and "max".- Parameters:
map- The map containing the "min" and "max" values for the string length.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getStringLengthMaximum
Get the maximum string length for this configuration.- Returns:
- The maximum allowed string length.
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
getStringLengthMinimum
Get the minimum allowed string length for this configuration.- Returns:
- The minimum allowed string length.
- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setStringLengthMaximum
Set the maximum allowed string length for this configuration.- Parameters:
maximum- The new maximum string length.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setStringLengthMimimum
Set the minimum allowed string length for this configuration.- Parameters:
minimum- The new minimum string length.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-
setStringLengthRange
Set the string length range for this configuration.- Parameters:
minimum- The minimum string length.maximum- The maximum string length.- Throws:
ServiceException- If a repository or service level error occurs.RemoteException- In the event of remote object failure.
-