net.sf.csutils.core.model.impl
Class StaticROType

java.lang.Object
  extended by net.sf.csutils.core.model.impl.StaticROType
All Implemented Interfaces:
ROType

public class StaticROType
extends java.lang.Object
implements ROType


Constructor Summary
StaticROType()
           
 
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.
 void setAttributes(java.util.Map<java.lang.String,ROAttribute> attributes)
           
 void setQName(QName qName)
           
 void setQueryName(QName qName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticROType

public StaticROType()
Method Detail

getAttributes

public java.util.Map<java.lang.String,ROAttribute> getAttributes()
Description copied from interface: ROType
Returns the map of all attributes.

Specified by:
getAttributes in interface ROType
Returns:
The map of attributes.

setAttributes

public void setAttributes(java.util.Map<java.lang.String,ROAttribute> attributes)

getQName

public QName getQName()
Description copied from interface: ROType
Returns the object types qualified name.

Specified by:
getQName in interface ROType
Returns:
The object types qualified name.

setQName

public void setQName(QName qName)

getQueryName

public QName getQueryName()
Description copied from interface: ROType
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".

Specified by:
getQueryName in interface ROType
Returns:
The object types query name.

setQueryName

public void setQueryName(QName qName)

getAttribute

public ROAttribute getAttribute(java.lang.String pName)
                         throws javax.xml.registry.JAXRException
Description copied from interface: ROType
Returns the attribute with the given name.

Specified by:
getAttribute in interface ROType
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.