public interface Item extends Serializable, Comparable<Item>
Modifier and Type | Method and Description |
---|---|
boolean |
add(Item item) |
void |
addValidType(String validType) |
Item |
find(int itemRef) |
String |
getDescription() |
String |
getName() |
int |
getReference() |
String |
getSubType() |
String |
getType() |
Collection |
getValidTypes() |
Collection |
getValues() |
boolean |
isDraft() |
boolean |
isEmpty() |
boolean |
isValidType(String valueType) |
boolean |
remove(int itemRef) |
void |
setDescription(String description) |
void |
setName(String name) |
boolean |
update(int itemRef,
Item item) |
compareTo
int getReference()
String getName()
void setName(String name)
String getType()
String getSubType()
boolean isDraft()
String getDescription()
void setDescription(String description)
boolean add(Item item)
UnsupportedOperationException
- if add is not supported
by the item.Item find(int itemRef)
UnsupportedOperationException
- if find is not supported
by the item.boolean update(int itemRef, Item item)
UnsupportedOperationException
- if add is not supported
by the item.boolean remove(int itemRef)
UnsupportedOperationException
- if remove is not supported
by the item.boolean isEmpty()
Collection getValues()
UnsupportedOperationException
- if getValues is not
supported by the item.void addValidType(String validType)
UnsupportedOperationException
- if addValidType
is not supported by the item.boolean isValidType(String valueType)
Collection getValidTypes()
UnsupportedOperationException
- if getValidTypes
is not supported by the item.Copyright © 2021 Denodo Technologies. All rights reserved.