Reputation: 709
I am reading through the JAXB tutorial at docs.oracle.com, and came across the following lines:
A schema component using a simple type definition typically binds to a Java property. Because there are difference kinds of schema components, the following Java property attributes (common to the schema components) include:
- Base Type
- Collection Type (if any)
- Predicate
The rest of the Java property attributes are specified in the schema component using the simple type definition
I understand the first sentence. I am completely lost after that. What does it mean when talking about "Java Property Attributes?"
Upvotes: 2
Views: 51
Reputation: 43709
Read it as "attributes of the Java Property". Actually, they have probably meant "properties", but "Java Property properties" is even worse that you read now.
To explain it a bit more. Schema components with simple types typically produce a Java property in your schema-derived class. This property has, well, its own characteristics, namely:
xs:boolean
/boolean
)xs:list
constructs)required
or fixed
, something like this)Hope this helps.
Upvotes: 1