All the JAXB annotations are already incorporated into the model so that the caller doesn't have to worry about reading them. For this reason, you cannot access annotations on properties directly.
Todo
don't we need a visitor?
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Adapter | |
| public MimeType | |
| public String | |
| public QName | |
| public ID | |
| public boolean | inlineBinaryData()
If this is true and this property indeed represents a binary data, it should be always inlined. |
| public boolean | |
| public PropertyKind | |
| public TypeInfo | |
| public Collection |
| displayName | back to summary |
|---|---|
| public String displayName() Gets the display name of the property.
This is a convenience method for
| |
| getAdapter | back to summary |
|---|---|
public Adapter
| |
| getExpectedMimeType | back to summary |
|---|---|
| public MimeType getExpectedMimeType() Expected MIME type, if any. | |
| getName | back to summary |
|---|---|
| public String getName() Gets the name of the property. For example, "foo" or "bar". Generally, a property name is different from XML, (although they are often related, as a property name is often computed from tag names / attribute names.) In fact, property names do not directly affect XML. The property name uniquely identifies a property within a class.
| |
| getSchemaType | back to summary |
|---|---|
| public QName getSchemaType() The effective value of
If the property doesn't have
Since a type name is a property of a Java type, not a Java property,
A schema type name of a Java type should be primarily obtained
by using
| |
| id | back to summary |
|---|---|
| public ID id() Returns the IDness of the value of this element. | |
| inlineBinaryData | back to summary |
|---|---|
| public boolean inlineBinaryData() If this is true and this property indeed represents a binary data, it should be always inlined. | |
| isCollection | back to summary |
|---|---|
| public boolean isCollection() Returns true if this is a multi-valued collection property. Otherwise false, in which case the property is a single value. | |
| kind | back to summary |
|---|---|
| public PropertyKind kind() Gets the kind of this property.
| |
| parent | back to summary |
|---|---|
| public TypeInfo Gets the | |
| ref | back to summary |
|---|---|
| public Collection List of
| |