Package eu.clarin.sru.client.fcs
Class Resource.ResourceFragment
- java.lang.Object
-
- eu.clarin.sru.client.fcs.Resource.ResourceFragment
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DataView>
getDataViews()
Get the list of data view objects for this this resource fragment.String
getPid()
Get the persistent identifier for this resource fragment.String
getRef()
Get the reference URI for this resource fragment.boolean
hasDataViews()
Convenience method to check if this resource fragment has any data views.
-
-
-
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
-
-