public class Restriction extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected RestrictionType |
type |
protected String |
value |
| Constructor and Description |
|---|
Restriction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
RestrictionType |
getType()
Gets the value of the type property.
|
String |
getValue()
Gets the value of the value property.
|
int |
hashCode() |
void |
setType(RestrictionType value)
Sets the value of the type property.
|
void |
setValue(String value)
Sets the value of the value property.
|
protected RestrictionType type
protected String value
public RestrictionType getType()
RestrictionTypepublic void setType(RestrictionType value)
value - allowed object is
RestrictionTypepublic String getValue()
Stringpublic void setValue(String value)
value - allowed object is
StringCopyright © 2021 JBoss by Red Hat. All rights reserved.