|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.wsrf.impl.SimpleResourcePropertyMetaData
| Field Summary | |
static SimpleResourcePropertyMetaData |
CURRENT_TIME
|
private static org.globus.util.I18n |
i18n
|
protected int |
maxOccurs
|
protected int |
minOccurs
|
protected javax.xml.namespace.QName |
name
|
protected boolean |
nillable
|
protected boolean |
readOnly
|
static SimpleResourcePropertyMetaData |
TERMINATION_TIME
|
protected java.lang.Class |
type
|
protected javax.xml.namespace.QName |
xmlType
|
| Constructor Summary | |
SimpleResourcePropertyMetaData(javax.xml.namespace.QName name)
|
|
SimpleResourcePropertyMetaData(javax.xml.namespace.QName name,
int minOccurs,
int maxOccurs,
boolean nillable,
boolean readOnly)
|
|
SimpleResourcePropertyMetaData(javax.xml.namespace.QName name,
int minOccurs,
int maxOccurs,
boolean nillable,
java.lang.Class type,
boolean readOnly)
|
|
SimpleResourcePropertyMetaData(javax.xml.namespace.QName name,
int minOccurs,
int maxOccurs,
boolean nillable,
java.lang.Class type,
boolean readOnly,
javax.xml.namespace.QName xmlType)
|
|
| 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. |
javax.xml.namespace.QName |
getXmlType()
|
boolean |
isNillable()
Returns if this resource property can be nillable. |
boolean |
isReadOnly()
Returns whether this property is read only. |
protected void |
setMaxOccurs(int max)
Sets the maximum number of values that this resource property can ever have. |
protected void |
setMinOccurs(int min)
Sets the minimum number of values that this resource property can ever have. |
protected void |
setNillable(boolean nillable)
Sets if this resource property can be nillable. |
protected void |
setReadOnly(boolean readOnly)
|
protected void |
setType(java.lang.Class type)
Sets the Java element type of this property. |
protected void |
setXmlType(javax.xml.namespace.QName type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final SimpleResourcePropertyMetaData TERMINATION_TIME
public static final SimpleResourcePropertyMetaData CURRENT_TIME
private static org.globus.util.I18n i18n
protected javax.xml.namespace.QName name
protected boolean nillable
protected int minOccurs
protected int maxOccurs
protected java.lang.Class type
protected javax.xml.namespace.QName xmlType
protected boolean readOnly
| Constructor Detail |
public SimpleResourcePropertyMetaData(javax.xml.namespace.QName name)
public SimpleResourcePropertyMetaData(javax.xml.namespace.QName name,
int minOccurs,
int maxOccurs,
boolean nillable,
boolean readOnly)
public SimpleResourcePropertyMetaData(javax.xml.namespace.QName name,
int minOccurs,
int maxOccurs,
boolean nillable,
java.lang.Class type,
boolean readOnly)
public SimpleResourcePropertyMetaData(javax.xml.namespace.QName name,
int minOccurs,
int maxOccurs,
boolean nillable,
java.lang.Class type,
boolean readOnly,
javax.xml.namespace.QName xmlType)
| Method Detail |
protected void setXmlType(javax.xml.namespace.QName type)
public javax.xml.namespace.QName getXmlType()
public javax.xml.namespace.QName getName()
ResourcePropertyMetaData
getName in interface ResourcePropertyMetaDatapublic boolean isNillable()
ResourcePropertyMetaData
isNillable in interface ResourcePropertyMetaDataprotected void setNillable(boolean nillable)
nillable - the nillable property.public int getMinOccurs()
ResourcePropertyMetaData
getMinOccurs in interface ResourcePropertyMetaDataprotected void setMinOccurs(int min)
min - the minimum number of values allowed in this resource
property.public int getMaxOccurs()
ResourcePropertyMetaData
getMaxOccurs in interface ResourcePropertyMetaDataInteger.MAX_VALUE if
unlimited.protected void setMaxOccurs(int max)
max - the maximum number of values allowed in this resource
property.protected void setType(java.lang.Class type)
Object.class then no conversion
will be done.
This operation is optional. If setting the element type is not
supported it should throw
UnsupportedOperationException.
type - Element type of this property.public java.lang.Class getType()
ResourcePropertyMetaDataObject.class then no conversion
will be done.
getType in interface ResourcePropertyMetaDataprotected void setReadOnly(boolean readOnly)
public boolean isReadOnly()
ResourcePropertyMetaData
isReadOnly in interface ResourcePropertyMetaData
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||