|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines metadata information about a resource property.
Method Summary | |
ResourceProperty |
create(ResourcePropertySet propSet)
Creates a resource property of the type defined by this metadata, with the specified property set as its container. |
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 the resource property name. |
java.lang.Class |
getType()
Returns the Java element type of this property. |
boolean |
isAny()
Determines if the ResourceProperty is an XSD:Any |
boolean |
isNillable()
Returns if this resource property can be nillable. |
boolean |
isReadOnly()
Returns whether this property is read only. |
void |
setReadOnly(boolean readOnly)
Sets the read only flag. |
Method Detail |
public boolean isAny()
public int getMaxOccurs()
Integer.MAX_VALUE
if unlimited.public int getMinOccurs()
public javax.xml.namespace.QName getName()
public boolean isNillable()
public void setReadOnly(boolean readOnly)
readOnly
- Sets the read only metatdata flag.public boolean isReadOnly()
public java.lang.Class getType()
Object.class
then no conversion will be done.
public ResourceProperty create(ResourcePropertySet propSet)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |