public class Near extends RulePattern implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ORDERED |
static int |
DEFAULT_SLOP |
boolean |
ordered |
java.util.List<RulePattern> |
rulePattern |
int |
slop |
DEFAULT_PRIORITY, name, priority
modifiedAt, modifiedBy
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Near.
|
static Near |
fromString(java.lang.String s)
String representation of this Near.
|
java.util.List<RulePattern> |
getRulePattern() |
int |
getSlop() |
boolean |
isOrdered() |
Near |
makeCopy()
Creates and returns a deep copy of this Near.
|
static Near |
readFrom(java.io.InputStream is)
Read this Near from an XML fragment.
|
void |
setOrdered(boolean ordered) |
void |
setSlop(int slop) |
java.lang.String |
toString()
String representation of this Near.
|
Near |
withModifiedAt(java.lang.Long modifiedAt) |
Near |
withModifiedBy(java.lang.String modifiedBy) |
Near |
withName(java.lang.String name) |
Near |
withOrdered(boolean ordered) |
Near |
withOrdered(java.lang.Boolean ordered) |
Near |
withPriority(int priority) |
Near |
withPriority(java.lang.Integer priority) |
Near |
withRulePattern(java.util.Collection<RulePattern> __values) |
Near |
withRulePattern(RulePattern... __values) |
Near |
withSlop(int slop) |
Near |
withSlop(java.lang.Integer slop) |
void |
writeTo(java.io.OutputStream os)
Write this Near as an XML fragment
|
getName, getPriority, setName, setPriority
getModifiedAt, getModifiedBy, setModifiedAt, setModifiedBy
public java.util.List<RulePattern> rulePattern
public int slop
public static final int DEFAULT_SLOP
public boolean ordered
public static final boolean DEFAULT_ORDERED
public Near()
public Near(Near o)
public Near withPriority(int priority)
withPriority
in class RulePattern
public Near withPriority(java.lang.Integer priority)
withPriority
in class RulePattern
public Near withName(java.lang.String name)
withName
in class RulePattern
public Near withModifiedBy(java.lang.String modifiedBy)
withModifiedBy
in class RulePattern
public Near withModifiedAt(java.lang.Long modifiedAt)
withModifiedAt
in class RulePattern
public java.util.List<RulePattern> getRulePattern()
public Near withRulePattern(RulePattern... __values)
public Near withRulePattern(java.util.Collection<RulePattern> __values)
public void setSlop(int slop)
public int getSlop()
public Near withSlop(int slop)
public Near withSlop(java.lang.Integer slop)
public void setOrdered(boolean ordered)
public boolean isOrdered()
public Near withOrdered(boolean ordered)
public Near withOrdered(java.lang.Boolean ordered)
public Near makeCopy()
makeCopy
in class RulePattern
public static Near readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class RulePattern
javax.xml.bind.JAXBException
java.io.IOException
public static Near fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class RulePattern
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class RulePattern
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.