public abstract class MutableTypeConstraint extends Object implements AlphaNodeFieldConstraint, BetaNodeFieldConstraint, Externalizable
Constraint.ConstraintType
Constructor and Description |
---|
MutableTypeConstraint() |
Modifier and Type | Method and Description |
---|---|
abstract MutableTypeConstraint |
clone()
Clones the constraint
|
MutableTypeConstraint |
cloneIfInUse()
Clone this constraints only if it is already used by a different node, otherwise returns this
|
Constraint.ConstraintType |
getType()
Returns the type of the constraint, either ALPHA, BETA or UNKNOWN
|
void |
readExternal(ObjectInput in) |
boolean |
setInUse() |
void |
setType(Constraint.ConstraintType type) |
void |
writeExternal(ObjectOutput out) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createContextEntry, isAllowed
createContextEntry, isAllowedCachedLeft, isAllowedCachedRight
getRequiredDeclarations, isTemporal, replaceDeclaration
public void setType(Constraint.ConstraintType type)
public Constraint.ConstraintType getType()
Constraint
getType
in interface Constraint
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public abstract MutableTypeConstraint clone()
Constraint
clone
in interface Constraint
clone
in class Object
public MutableTypeConstraint cloneIfInUse()
AlphaNodeFieldConstraint
cloneIfInUse
in interface AlphaNodeFieldConstraint
cloneIfInUse
in interface BetaNodeFieldConstraint
public boolean setInUse()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.