Class SRVMBand
- java.lang.Object
-
- org.spectrumauctions.sats.core.model.GenericGood
-
- org.spectrumauctions.sats.core.model.srvm.SRVMBand
-
- All Implemented Interfaces:
java.io.Serializable,org.marketdesignresearch.mechlib.core.Good,SATSGood
public final class SRVMBand extends GenericGood
- Author:
- Michael Weiss
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.spectrumauctions.sats.core.model.GenericGood
worldId
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)java.util.List<SRVMLicense>containedGoods()booleanequals(java.lang.Object o)com.google.common.collect.ImmutableList<SRVMLicense>getLicenses()intgetQuantity()SRVMWorldgetWorld()inthashCode()booleanisPartOf(SRVMLicense license)com.google.gson.JsonElementshortJson()-
Methods inherited from class org.spectrumauctions.sats.core.model.GenericGood
getName, getUuid, getWorldId, toString
-
-
-
-
Method Detail
-
getWorld
public SRVMWorld getWorld()
- Specified by:
getWorldin interfaceSATSGood- Specified by:
getWorldin classGenericGood
-
getLicenses
public com.google.common.collect.ImmutableList<SRVMLicense> getLicenses()
-
getQuantity
public int getQuantity()
- Specified by:
getQuantityin interfaceorg.marketdesignresearch.mechlib.core.Good- Overrides:
getQuantityin classGenericGood
-
isPartOf
public boolean isPartOf(SRVMLicense license)
-
containedGoods
public java.util.List<SRVMLicense> containedGoods()
- Specified by:
containedGoodsin classGenericGood
-
shortJson
public com.google.gson.JsonElement shortJson()
- Overrides:
shortJsonin classGenericGood
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classGenericGood
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classGenericGood
-
hashCode
public int hashCode()
- Overrides:
hashCodein classGenericGood
-
-