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.StringgetPid()Get the persistent identifier for this resource fragment.StringgetRef()Get the reference URI for this resource fragment.booleanhasDataViews()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
nullof this resource fragment has none
-
getRef
public String getRef()
Get the reference URI for this resource fragment.- Returns:
- a reference URI or
nullof this resource fragment has none
-
hasDataViews
public boolean hasDataViews()
Convenience method to check if this resource fragment has any data views.- Returns:
trueif this resource fragment has data views,falseotherwise
-
-