public class RestrictedByElem
extends java.lang.Object
RestrictedByItem.| Modifier and Type | Field and Description |
|---|---|
private AttributeType |
attributeType
The AttributeType on which the restriction is applied
|
private AttributeType |
valuesIn
The list of allowed AttributeType values
|
| Constructor and Description |
|---|
RestrictedByElem(AttributeType attributeType,
AttributeType valuesIn)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
AttributeType |
getAttributeType()
Gets the attribute type to restrict.
|
AttributeType |
getValuesIn()
Gets the attribute type only whose values are allowed in
attributeType.
|
int |
hashCode() |
java.lang.String |
toString() |
private AttributeType attributeType
private AttributeType valuesIn
public RestrictedByElem(AttributeType attributeType, AttributeType valuesIn)
attributeType - the attribute type to restrictvaluesIn - the attribute type only whose values are allowed in attributeType.public AttributeType getAttributeType()
public AttributeType getValuesIn()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object