public class Restriction extends Object implements Serializable
Java class for Restriction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Restriction">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="type" use="required" type="{http://atlasmap.io/xml/v2}RestrictionType" />
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| 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 © 2018 JBoss by Red Hat. All rights reserved.