public class EnumRestriction extends Restriction
Constructor and Description |
---|
EnumRestriction(LinkedHashMap<String,EnumValue> enumValues) |
Modifier and Type | Method and Description |
---|---|
LinkedHashMap<String,EnumValue> |
getEnumValues()
Gets a map of enumeration values to their definitions.
|
RestrictionType |
getType()
Gets the type of restriction being applied.
|
public EnumRestriction(LinkedHashMap<String,EnumValue> enumValues)
public LinkedHashMap<String,EnumValue> getEnumValues()
public RestrictionType getType()
getType
in class Restriction
RestrictionType.ENUM
Copyright © 2018. All rights reserved.