org.globus.wsrf
Interface ResourcePropertyMetaData

All Known Implementing Classes:
SimpleResourcePropertyMetaData

public interface ResourcePropertyMetaData

Defines a metadata information about a resource property.


Method Summary
 int getMaxOccurs()
          Returns the maximum number of values that this resource property can have.
 int getMinOccurs()
          Returns the minimum number of values that this resource property can have.
 javax.xml.namespace.QName getName()
          Returns ResourceProperty name.
 java.lang.Class getType()
          Returns the Java element type of this property.
 boolean isNillable()
          Returns if this resource property can be nillable.
 boolean isReadOnly()
          Returns whether this property is read only.
 

Method Detail

getName

public javax.xml.namespace.QName getName()
Returns ResourceProperty name.

Returns:
the resource property name.

isNillable

public boolean isNillable()
Returns if this resource property can be nillable.

Returns:
true if the resource property can be nillable. False otherwise.

getMinOccurs

public int getMinOccurs()
Returns the minimum number of values that this resource property can have.

Returns:
the minimum number of values that this resource property can have.

getMaxOccurs

public int getMaxOccurs()
Returns the maximum number of values that this resource property can have.

Returns:
the maximum number of values that this resource property can have. Returns Integer.MAX_VALUE if unlimited.

getType

public java.lang.Class getType()
Returns the Java element type of this property. When adding or setting element values the input value will be automatically converted into this type. If set to Object.class then no conversion will be done.

Returns:
Element type of this property.

isReadOnly

public boolean isReadOnly()
Returns whether this property is read only.

Returns:
Returns true if this property is read only. False, otherwise.