net.sf.csutils.core.model
Interface ROType

All Known Implementing Classes:
StaticROType

public interface ROType

Interface of a registry object type.


Method Summary
 ROAttribute getAttribute(java.lang.String pName)
          Returns the attribute with the given name.
 java.util.Map<java.lang.String,ROAttribute> getAttributes()
          Returns the map of all attributes.
 QName getQName()
          Returns the object types qualified name.
 QName getQueryName()
          Returns the object types query name.
 

Method Detail

getQName

QName getQName()
               throws javax.xml.registry.JAXRException
Returns the object types qualified name.

Returns:
The object types qualified name.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getQueryName

QName getQueryName()
                   throws javax.xml.registry.JAXRException
Returns the object types query name. In most cases, this is the same than the qualified name. However, for builtin object types, it may differ. For example, for "Organization" the query type is "{http://namespaces.CentraSite.com/Schema/jaxr}organization".

Returns:
The object types query name.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getAttributes

java.util.Map<java.lang.String,ROAttribute> getAttributes()
                                                          throws javax.xml.registry.JAXRException
Returns the map of all attributes.

Returns:
The map of attributes.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getAttribute

ROAttribute getAttribute(java.lang.String pName)
                         throws javax.xml.registry.JAXRException
Returns the attribute with the given name.

Parameters:
pName - The attribute name
Returns:
The attribute with the given name.
Throws:
javax.xml.registry.JAXRException - The operation failed.


Copyright © 2009-2011. All Rights Reserved.