public class RdfClassMeta extends ExtendedClassMeta
@Rdf
annotation on the
class.Constructor and Description |
---|
RdfClassMeta(ClassMeta<?> cm,
RdfMetaProvider mp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Rdf |
getAnnotation()
Returns the
@Rdf annotation defined on the class. |
protected RdfCollectionFormat |
getCollectionFormat()
Returns the
@Rdf(collectionFormat) annotation defined on the class. |
protected Namespace |
getNamespace()
Returns the RDF namespace associated with this class.
|
getClassMeta, getInnerClass
public RdfClassMeta(ClassMeta<?> cm, RdfMetaProvider mp)
cm
- The class that this annotation is defined on.mp
- RDF metadata provider (for finding information about other artifacts).protected Rdf getAnnotation()
@Rdf
annotation defined on the class.protected RdfCollectionFormat getCollectionFormat()
@Rdf(collectionFormat)
annotation defined on the class.protected Namespace getNamespace()
Namespace is determined in the following order of @Rdf(prefix)
annotation:
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.