81 String displayName();
82
83 /**
84 * Returns true if this is a multi-valued collection property.
85 * Otherwise false, in which case the property is a single value.
86 */
87 boolean isCollection();
88
89 /**
90 * List of {@link TypeInfo}s that this property references.
91 *
92 * This allows the caller to traverse the reference graph without
93 * getting into the details of each different property type.
94 *
95 * @return
96 * non-null read-only collection.
97 */
98 Collection<? extends TypeInfo<T,C>> ref();
99
100 /**
101 * Gets the kind of this proeprty.
102 *
103 * @return
104 * always non-null.
105 */
106 PropertyKind kind();
107
108 /**
109 * @return
110 * null if the property is not adapted.
111 */
112 Adapter<T,C> getAdapter();
113
114 /**
115 * Returns the IDness of the value of this element.
116 *
117 * @see XmlID
118 * @see XmlIDREF
119 *
120 * @return
121 * always non-null
|
81 String displayName();
82
83 /**
84 * Returns true if this is a multi-valued collection property.
85 * Otherwise false, in which case the property is a single value.
86 */
87 boolean isCollection();
88
89 /**
90 * List of {@link TypeInfo}s that this property references.
91 *
92 * This allows the caller to traverse the reference graph without
93 * getting into the details of each different property type.
94 *
95 * @return
96 * non-null read-only collection.
97 */
98 Collection<? extends TypeInfo<T,C>> ref();
99
100 /**
101 * Gets the kind of this property.
102 *
103 * @return
104 * always non-null.
105 */
106 PropertyKind kind();
107
108 /**
109 * @return
110 * null if the property is not adapted.
111 */
112 Adapter<T,C> getAdapter();
113
114 /**
115 * Returns the IDness of the value of this element.
116 *
117 * @see XmlID
118 * @see XmlIDREF
119 *
120 * @return
121 * always non-null
|