Class RdfBeanMeta


public class RdfBeanMeta extends ExtendedBeanMeta
Metadata on beans specific to the RDF serializers and parsers pulled from the @Rdf annotation on the class.
See Also:
  • Constructor Details

    • RdfBeanMeta

      public RdfBeanMeta(BeanMeta<?> beanMeta, RdfMetaProvider mp)
      Constructor.
      Parameters:
      beanMeta - The metadata on the bean that this metadata applies to. Must not be null.
      mp - RDF metadata provider (for finding information about other artifacts). Must not be null.
  • Method Details

    • getBeanUriProperty

      Returns the bean property marked as the URI for the bean (annotated with @Rdf(beanUri) as true).
      Returns:
      The URI property, or null if no URI property exists on this bean.
    • hasBeanUri

      public boolean hasBeanUri()
      Returns true if one of the properties on this bean is annotated with @Rdf(beanUri) as true
      Returns:
      true if there is a URI property associated with this bean.