Class Resource.ResourceFragment

  • Enclosing class:
    Resource

    public static final class Resource.ResourceFragment
    extends Object
    A CLARIN-FCS resource fragment
    • Method Detail

      • getPid

        public String getPid()
        Get the persistent identifier for this resource fragment.
        Returns:
        a persistent identifier or null of this resource fragment has none
      • getRef

        public String getRef()
        Get the reference URI for this resource fragment.
        Returns:
        a reference URI or null of this resource fragment has none
      • hasDataViews

        public boolean hasDataViews()
        Convenience method to check if this resource fragment has any data views.
        Returns:
        true if this resource fragment has data views, false otherwise
      • getDataViews

        public List<DataView> getDataViews()
        Get the list of data view objects for this this resource fragment.
        Returns:
        a list of DataView objects or null, or null if this resource fragment has none