Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

org.openquark.gems.client
Class AutoburnLogic.AutoburnUnifyStatus

java.lang.Object
  extended by org.openquark.gems.client.AutoburnLogic.AutoburnUnifyStatus
Enclosing class:
AutoburnLogic

public static final class AutoburnLogic.AutoburnUnifyStatus
extends Object

Enum pattern used to summarize how a gem can be connected to another gem, allowing for the possibility of autoburning.

Author:
Edward Lam

Field Summary
static AutoburnLogic.AutoburnUnifyStatus AMBIGUOUS
          It's ambiguous which inputs to burn to unify and it is impossible to unify without burning.
static AutoburnLogic.AutoburnUnifyStatus AMBIGUOUS_NOT_NECESSARY
          It's ambiguous which inputs to burn to unify and you can also unify without burning.
static AutoburnLogic.AutoburnUnifyStatus NOT_NECESSARY
          Unifies without burning and there are is no way to unify with burning.
static AutoburnLogic.AutoburnUnifyStatus NOT_POSSIBLE
          Unification cannot be enabled by burning and is not possible without burning.
static AutoburnLogic.AutoburnUnifyStatus UNAMBIGUOUS
          It's unambiguous which inputs to burn to unify and it is impossible to unify without burning.
static AutoburnLogic.AutoburnUnifyStatus UNAMBIGUOUS_NOT_NECESSARY
          It's umambiguous which inputs to burn to unify and you can also unify without burning.
 
Method Summary
 boolean isAutoConnectable()
          Returns true if this unify status indicates that two gems are always connectable.
 boolean isConnectableWithBurning()
          Returns true if this unify status indicates that two gems are connectable using burning.
 boolean isConnectableWithoutBurning()
          Returns true if this unify status indicates that two gems are connectable without burning.
 boolean isUnambiguous()
          Returns true if this unify status indicates that the possible autoburn combinations are unambiguous.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NOT_NECESSARY

public static final AutoburnLogic.AutoburnUnifyStatus NOT_NECESSARY
Unifies without burning and there are is no way to unify with burning.


NOT_POSSIBLE

public static final AutoburnLogic.AutoburnUnifyStatus NOT_POSSIBLE
Unification cannot be enabled by burning and is not possible without burning.


AMBIGUOUS

public static final AutoburnLogic.AutoburnUnifyStatus AMBIGUOUS
It's ambiguous which inputs to burn to unify and it is impossible to unify without burning.


UNAMBIGUOUS

public static final AutoburnLogic.AutoburnUnifyStatus UNAMBIGUOUS
It's unambiguous which inputs to burn to unify and it is impossible to unify without burning.


AMBIGUOUS_NOT_NECESSARY

public static final AutoburnLogic.AutoburnUnifyStatus AMBIGUOUS_NOT_NECESSARY
It's ambiguous which inputs to burn to unify and you can also unify without burning.


UNAMBIGUOUS_NOT_NECESSARY

public static final AutoburnLogic.AutoburnUnifyStatus UNAMBIGUOUS_NOT_NECESSARY
It's umambiguous which inputs to burn to unify and you can also unify without burning.

Method Detail

toString

public String toString()
Overrides:
toString in class Object

isAutoConnectable

public boolean isAutoConnectable()
Returns true if this unify status indicates that two gems are always connectable. Always connectable means that the autoburn logic will be able to connect the gems without requiring manual user intervention. This is true when autoburning is either unambiguous or not necessary and also in the case where burning is ambiguous but the connection can be made without burning. In that last case the burn logic would simply make the connection without burning.

Returns:
true if gems are connectable automatically, false otherwise

isUnambiguous

public boolean isUnambiguous()
Returns true if this unify status indicates that the possible autoburn combinations are unambiguous. This means there is only one possible combination that can be burned and therefore autoburning is possible without requiring user interaction.

Returns:
true if unambiguous autoburning is possible, false otherwise

isConnectableWithoutBurning

public boolean isConnectableWithoutBurning()
Returns true if this unify status indicates that two gems are connectable without burning.

Returns:
true if gems can be connected without burning, false otherwise

isConnectableWithBurning

public boolean isConnectableWithBurning()
Returns true if this unify status indicates that two gems are connectable using burning.

Returns:
true if gems can be connected using burning, false otherwise

Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

Copyright © 2007 Business Objects. All rights reserved.