Package eu.clarin.sru.server.fcs
Class DataView
- java.lang.Object
-
- eu.clarin.sru.server.fcs.DataView
-
public class DataView extends Object
This class is used to hold information about a data view that is implemented by the endpoint.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataView.DeliveryPolicy
Enumeration to indicate the delivery policy of a data view.
-
Constructor Summary
Constructors Constructor Description DataView(String identifier, String mimeType, DataView.DeliveryPolicy deliveryPolicy)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataView.DeliveryPolicy
getDeliveryPolicy()
Get the delivery policy for this data view.String
getIdentifier()
Get the identifier of this data view.String
getMimeType()
Get the MIME type of this data view.String
toString()
-
-
-
Constructor Detail
-
DataView
public DataView(String identifier, String mimeType, DataView.DeliveryPolicy deliveryPolicy)
Constructor.- Parameters:
identifier
- a unique short identifier for the data viewmimeType
- the MIME type of the data viewdeliveryPolicy
- the delivery policy for this data view
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Get the identifier of this data view.- Returns:
- the identifier of the data view
-
getMimeType
public String getMimeType()
Get the MIME type of this data view.- Returns:
- the MIME type of this data view
-
getDeliveryPolicy
public DataView.DeliveryPolicy getDeliveryPolicy()
Get the delivery policy for this data view.- Returns:
- the delivery policy of this data view
- See Also:
DataView.DeliveryPolicy
-
-