public final class FacetRule extends Object
Constructor and Description |
---|
FacetRule(String facet,
String value,
boolean equal,
boolean optional,
int type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFacet()
Get the string representation of the facet
|
int |
getType()
Get the PropertyType of the facet
|
String |
getValue()
The value of the facet rule to match
|
int |
hashCode() |
boolean |
isEqual()
Check for equality or inequality
|
boolean |
isOptional()
When the facet is optional, it does not need to be present on a node for the rule to match.
|
String |
toString() |
public String getFacet()
public String getValue()
public boolean isEqual()
public boolean isOptional()
When the facet is not optional, the rule only matches when the facet is available on the node.
public int getType()
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.