Package com.storedobject.common
Interface DataSet
- All Known Implementing Classes:
HashDataSet
,ObjectData
public interface DataSet
An interface that defines some sort of data with attributes. Attribute values is gettable and optionally settable.
- Author:
- Syam
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add an attribute key.boolean
Check whether an attribute can be set or not.Get the value for the given attribute.default Class
<?> Get the value-type of the given attribute.keys()
Get the keys a list.void
Remove an attribute key.void
Set an attribute value.
-
Method Details
-
set
-
canSet
Check whether an attribute can be set or not. It is not mandatory that an attribute is settable.- Parameters:
key
- Key of the attribute.- Returns:
- True/false.
-
get
-
keys
-
add
-
remove
-
getType
-