public class UnionEnumeration extends Enumeration<Object>
Constructor and Description |
---|
UnionEnumeration(Collection<? extends TypeDefinition> unionTypes)
Create a type union binding constraint
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends Object> |
getValues() |
boolean |
isAllowOthers() |
isInheritable
public UnionEnumeration(Collection<? extends TypeDefinition> unionTypes)
unionTypes
- the definitions of the types contained in the unionpublic Collection<? extends Object> getValues()
getValues
in class Enumeration<Object>
null
there is no
such restrictionEnumeration.getValues()
public boolean isAllowOthers()
isAllowOthers
in class Enumeration<Object>
Enumeration.getValues()
are
allowed for the type, should be ignored if Enumeration.getValues()
returns null
Enumeration.isAllowOthers()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a