public class ResourceType extends Object implements Serializable, ResourceType
Constructor and Description |
---|
ResourceType() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getLabel()
resource type label (this is what users see in the webUI)
|
String |
getName()
resource type name
|
PersistenceSelectorStrategy |
getPersistenceSelectorStrategy()
Selects a PersistenceSelectorStrategy that decides which data is
persisted and which is not.
|
String |
getResourceLabel()
resource label expression (this is what users see in the webUI for each
resource of this type)
|
StorageStrategy |
getStorageStrategy()
Selects a StorageStrategy that decides where data is stored.
|
int |
hashCode() |
void |
setLabel(String label) |
void |
setName(String name) |
void |
setPersistenceSelectorStrategy(PersistenceSelectorStrategy strategy) |
void |
setResourceLabel(String resourceLabel) |
void |
setStorageStrategy(StorageStrategy strategy) |
String |
toString() |
void |
visit(DatacollectionConfigVisitor visitor) |
public String getName()
getName
in interface ResourceType
public void setName(String name)
public String getLabel()
getLabel
in interface ResourceType
public void setLabel(String label)
public String getResourceLabel()
getResourceLabel
in interface ResourceType
public void setResourceLabel(String resourceLabel)
public PersistenceSelectorStrategy getPersistenceSelectorStrategy()
getPersistenceSelectorStrategy
in interface ResourceType
public void setPersistenceSelectorStrategy(PersistenceSelectorStrategy strategy)
public StorageStrategy getStorageStrategy()
getStorageStrategy
in interface ResourceType
public void setStorageStrategy(StorageStrategy strategy)
public void visit(DatacollectionConfigVisitor visitor)
Copyright © 2020. All rights reserved.