E - the element typepublic class NonNullLinkedHashSetWithId<E> extends NonNullLinkedHashSet<E> implements IdMetaData
Overrides LinkedHashSet to disallow null values
| Constructor and Description |
|---|
NonNullLinkedHashSetWithId()
Create a new NonNullLinkedHashSetWithId
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Get the id.
|
void |
setId(String id)
Set the id.
|
add, addAllclear, clone, contains, isEmpty, iterator, remove, sizeequals, hashCode, removeAllcontainsAll, retainAll, toArray, toArray, toStringpublic NonNullLinkedHashSetWithId()
public String getId()
IdMetaDatagetId in interface IdMetaDatapublic void setId(String id)
IdMetaDatasetId in interface IdMetaDataid - the id.Copyright © 2014 JBoss by Red Hat. All Rights Reserved.