|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataType
Top-level interface for building types that can be used when building service descriptions. MetadataType is used by tools at design-time to build types.
Implementations of this interface must have a default constructor so that tool environments are able to create instances of it during the bootstrap process. Implementations must be thread compatible (not thread-safe), as they may run in a threaded environment. Thread compatible requires that if a unique instance is used in each thread then correct behaviour is observed. Also, if the tool synchronizes calls to the methods then correct behaviour is observed except when internal state is changed. Applying data properties will change state.
Method Summary | |
---|---|
void |
applyDataProperties(PropertyGroup dataProperties)
Apply values of the specified data properties to the MetadataType. |
PropertyGroup |
createDataProperties()
The set of properties for determining the types to be created. |
QName |
getName()
Returns the name of the top level global complex type in the array of schema definitions. |
SchemaDefinition[] |
getSchemaDefinitions()
Returns an array of schema definitions for the specified data properties. |
void |
setLocation(URI uri)
The tool passes the relative location for the schema. |
Method Detail |
---|
PropertyGroup createDataProperties()
null
.void applyDataProperties(PropertyGroup dataProperties)
createDataProperties
method.
The argument must not be null
.
dataProperties
- a PropertyGroup containing the specified data properties.void setLocation(URI uri) throws MetadataException
uri
- is the relative location for the schema.
MetadataException
- -
thrown if an error occurs or if the set was refused.SchemaDefinition[] getSchemaDefinitions()
QName getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |