Class LSVMLicense
- java.lang.Object
-
- org.spectrumauctions.sats.core.model.License
-
- org.spectrumauctions.sats.core.model.lsvm.LSVMLicense
-
- All Implemented Interfaces:
java.io.Serializable,org.marketdesignresearch.mechlib.core.Good,SATSGood
public class LSVMLicense extends License
- Author:
- Fabio Isler
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.spectrumauctions.sats.core.model.License
License.IdComparator
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLSVMLicense(long id, int row, int column, LSVMWorld world)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intgetColumnPosition()intgetRowPosition()LSVMWorldgetWorld()longgetWorldId()inthashCode()voidrefreshFieldBackReferences(LSVMGrid grid)Method is called after deserialization, there is not need to call it on any other occasion.
SeeWorld.refreshFieldBackReferences()for explanations.-
Methods inherited from class org.spectrumauctions.sats.core.model.License
canEqual, getLongId, getName, getUuid, toAlphabetic
-
-
-
-
Constructor Detail
-
LSVMLicense
protected LSVMLicense(long id, int row, int column, LSVMWorld world)
-
-
Method Detail
-
getRowPosition
public int getRowPosition()
-
getColumnPosition
public int getColumnPosition()
-
getWorld
public LSVMWorld getWorld()
-
getWorldId
public long getWorldId()
- Overrides:
getWorldIdin classLicense
-
refreshFieldBackReferences
public void refreshFieldBackReferences(LSVMGrid grid)
Method is called after deserialization, there is not need to call it on any other occasion.
SeeWorld.refreshFieldBackReferences()for explanations.
-
-