org.qedeq.kernel.bo.logic.model
Class SubjectVariableAllocation

java.lang.Object
  extended by org.qedeq.kernel.bo.logic.model.SubjectVariableAllocation

public class SubjectVariableAllocation
extends java.lang.Object

One subject variable allocation for our model.

Author:
Michael Meyling

Constructor Summary
SubjectVariableAllocation(SubjectVariable variable)
          Constructor.
SubjectVariableAllocation(SubjectVariable variable, int value)
          Constructor.
 
Method Summary
 int getValue()
          Get reference to current model entity.
 SubjectVariable getVariable()
          Get subject variable.
 void increaseNumber()
          Increase model entity number.
 boolean isFixed()
          Is this a fixed interpretation?
 void resetNumber()
          Reset model entity number.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubjectVariableAllocation

public SubjectVariableAllocation(SubjectVariable variable)
Constructor.

Parameters:
variable - Subject variable.

SubjectVariableAllocation

public SubjectVariableAllocation(SubjectVariable variable,
                                 int value)
Constructor.

Parameters:
variable - Subject variable.
value - Value for subject variable.
Method Detail

getVariable

public SubjectVariable getVariable()
Get subject variable.

Returns:
Subject variable.

isFixed

public boolean isFixed()
Is this a fixed interpretation?

Returns:
Is this a fixed interpretation?

getValue

public int getValue()
Get reference to current model entity.

Returns:
Entity number.

increaseNumber

public void increaseNumber()
Increase model entity number.


resetNumber

public void resetNumber()
Reset model entity number.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2014. All Rights Reserved.