Package org.apache.juneau.marshall.jena
Class RdfBeanPropertyMeta
java.lang.Object
org.apache.juneau.marshall.ExtendedMeta
org.apache.juneau.marshall.ExtendedBeanPropertyMeta
org.apache.juneau.marshall.jena.RdfBeanPropertyMeta
Metadata on bean properties specific to the RDF serializers and parsers pulled from the
@Rdf annotation
on the bean property.
See Also:
- {doc jmr.RdfDetails}
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RdfCollectionFormatReturns the RDF collection format of this property from theRdf.collectionFormat()annotation on this bean property.Returns the RDF namespace associated with this bean property.booleanMethods inherited from class org.apache.juneau.marshall.ExtendedBeanPropertyMeta
getBeanPropertyMeta
-
Field Details
-
DEFAULT
Default instance.
-
-
Constructor Details
-
RdfBeanPropertyMeta
Constructor.- Parameters:
bpm- The metadata of the bean property of this additional metadata. Must not benull .mp- RDF metadata provider (for finding information about other artifacts).
-
-
Method Details
-
getNamespace
Returns the RDF namespace associated with this bean property.Namespace is determined in the following order of
@Rdf(prefix)annotations:- Bean property field.
- Bean getter.
- Bean setter.
- Bean class.
- Bean package.
- Bean superclasses.
- Bean superclass packages.
- Bean interfaces.
- Bean interface packages.
- Returns:
- The namespace associated with this bean property, or
null if no namespace is associated with it.
-
isBeanUri
- Returns:
true if this bean property annotation istrue .
-
getCollectionFormat
Returns the RDF collection format of this property from theRdf.collectionFormat()annotation on this bean property.- Returns:
- The RDF collection format, or
RdfCollectionFormat.DEFAULTif annotation not specified.
-