commonj.connector.metadata.discovery.properties.extensions
Interface MultiSchemaTypeProperty

All Superinterfaces:
Cloneable, MultiValuedProperty, Property, PropertyDescriptor, SingleTypedProperty

public interface MultiSchemaTypeProperty
extends MultiValuedProperty

A property interface for browsing or selecting multiple schema global complex types or global elements with complex types. The representation is javax.xml.namespace.QName.

Since:
1.1

Field Summary
 
Fields inherited from interface commonj.connector.metadata.discovery.properties.MultiValuedProperty
MULTI_SELECT, SINGLE_SELECT
 
Method Summary
 URI[] getLocations()
          Returns the relative locations of the schemas.
 void setLocations(URI[] uri)
          Set the relative locations for the schemas.
 
Methods inherited from interface commonj.connector.metadata.discovery.properties.MultiValuedProperty
addValue, addValue, addValueAsString, addValueAsString, allowDuplicateValues, get, getSelectionStyle, getValues, getValuesAsStrings, removeValue, removeValue, removeValueAsString, setSelection
 
Methods inherited from interface commonj.connector.metadata.discovery.properties.SingleTypedProperty
getPropertyType
 
Methods inherited from interface commonj.connector.metadata.discovery.properties.Property
getValidationMessage, isSet, isValid, unSet
 
Methods inherited from interface commonj.connector.metadata.discovery.properties.PropertyDescriptor
addPropertyChangeListener, clone, getDescription, getDisplayName, getID, getName, isEnabled, removePropertyChangeListener
 

Method Detail

getLocations

URI[] getLocations()
Returns the relative locations of the schemas. The order of locations matches the order of values.

Returns:
The relative locations of the schemas.

setLocations

void setLocations(URI[] uri)
                  throws MetadataException
Set the relative locations for the schemas.

Parameters:
uri - are the relative locations for the schemas.
Throws:
MetadataException - - thrown if an error occurs or if the set was refused.