org.gcube.messaging.common.messages.records
Class BrowseRecord

java.lang.Object
  extended by org.gcube.messaging.common.messages.records.BaseRecord
      extended by org.gcube.messaging.common.messages.records.BrowseRecord
All Implemented Interfaces:
Serializable

public class BrowseRecord
extends BaseRecord

Author:
Andrea Manzi(CERN)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.gcube.messaging.common.messages.records.BaseRecord
date
 
Constructor Summary
BrowseRecord()
          create a browse record
 
Method Summary
 String getBrowseBy()
          get the browseBy value
 HashMap<String,String> getCollections()
          get the collections map
 boolean isDistinct()
          get the isDistinct value
 void setBrowseBy(String browseBy)
          set the browseBy
 void setCollections(HashMap<String,String> collections)
          set the collections map
 void setDistinct(boolean isDistinct)
          set the isDistinct param
 
Methods inherited from class org.gcube.messaging.common.messages.records.BaseRecord
getDate, setDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowseRecord

public BrowseRecord()
create a browse record

Method Detail

isDistinct

public boolean isDistinct()
get the isDistinct value

Returns:
true/false

setDistinct

public void setDistinct(boolean isDistinct)
set the isDistinct param

Parameters:
isDistinct - isDistinct

getBrowseBy

public String getBrowseBy()
get the browseBy value

Returns:
browse by

setBrowseBy

public void setBrowseBy(String browseBy)
set the browseBy

Parameters:
browseBy - browseBy

getCollections

public HashMap<String,String> getCollections()
get the collections map

Returns:
the collection map

setCollections

public void setCollections(HashMap<String,String> collections)
set the collections map

Parameters:
collections - the collections map


Copyright © 2014. All Rights Reserved.