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()
RestrictionType
public void setType(RestrictionType value)
value
- allowed object is
RestrictionType
public String getValue()
String
public void setValue(String value)
value
- allowed object is
String
Copyright © 2020 JBoss by Red Hat. All rights reserved.