public class SetValue extends java.lang.Object implements Value
Modifier | Constructor and Description |
---|---|
protected |
SetValue()
Creates new instance.
|
|
SetValue(java.util.Collection<?> items)
Creates new instance from the given items.
|
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent) |
void |
beforeUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent) |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
Returns the id of this value, if any.
|
Value |
getParent()
Returns the parent of this value.
|
SetType |
getType()
Returns set type.
|
int |
hashCode() |
boolean |
isEmpty() |
java.util.Iterator<java.lang.Object> |
iterator() |
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
SetHolder |
toObject()
Converts this value to an appropriate object.
|
java.lang.String |
toString() |
protected SetValue()
public SetValue(java.util.Collection<?> items)
items
- public SetType getType()
public java.lang.String getId()
Value
public Value getParent()
Value
public SetHolder toObject()
Value
public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean isEmpty()
public java.util.Iterator<java.lang.Object> iterator()
public int size()
public java.lang.Object[] toArray()
public <T> T[] toArray(T[] a)
public void beforeUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
unmarshaller
- parent
- public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
unmarshaller
- parent
- public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.