Class MRVMLicense
- java.lang.Object
-
- org.spectrumauctions.sats.core.model.License
-
- org.spectrumauctions.sats.core.model.mrvm.MRVMLicense
-
- All Implemented Interfaces:
java.io.Serializable,org.marketdesignresearch.mechlib.core.Good,SATSGood
public class MRVMLicense extends License
- Author:
- Michael Weiss
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.spectrumauctions.sats.core.model.License
License.IdComparator
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<MRVMLicense>createLicenses(MRVMBand band, int startId, MRVMRegionsMap regionsMap)booleanequals(java.lang.Object obj)MRVMBandgetBand()java.lang.StringgetBandName()MRVMRegionsMap.RegiongetRegion()intgetRegionId()static longgetSerialversionuid()MRVMWorldgetWorld()longgetWorldId()inthashCode()voidrefreshFieldBackReferences(MRVMBand band)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
-
-
-
-
Method Detail
-
createLicenses
public static java.util.List<MRVMLicense> createLicenses(MRVMBand band, int startId, MRVMRegionsMap regionsMap)
-
getWorld
public MRVMWorld getWorld()
-
getSerialversionuid
public static long getSerialversionuid()
-
getBandName
public java.lang.String getBandName()
-
getBand
public MRVMBand getBand()
-
getWorldId
public long getWorldId()
- Overrides:
getWorldIdin classLicense
-
getRegionId
public int getRegionId()
-
getRegion
public MRVMRegionsMap.Region getRegion()
-
refreshFieldBackReferences
public void refreshFieldBackReferences(MRVMBand band)
Method is called after deserialization, there is not need to call it on any other occasion.
SeeWorld.refreshFieldBackReferences()for explanations.
-
-