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, waitisAllowedcreateContextEntry, isAllowedCachedLeft, isAllowedCachedRightgetListenedPropertyMask, getRequiredDeclarations, isTemporal, replaceDeclarationpublic void setType(Constraint.ConstraintType type)
public Constraint.ConstraintType getType()
ConstraintgetType in interface Constraintpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic abstract MutableTypeConstraint clone()
Constraintclone in interface Constraintclone in class Objectpublic MutableTypeConstraint cloneIfInUse()
AlphaNodeFieldConstraintcloneIfInUse in interface AlphaNodeFieldConstraintcloneIfInUse in interface BetaNodeFieldConstraintpublic boolean setInUse()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.