Class ServerType

java.lang.Object
common.definitions.ServerType

public class ServerType extends Object
Provides the Server Type functionality of the definitions.
  • Constructor Details

    • ServerType

      public ServerType(String name, int numOfServers, Object serverKey, Object stationKey, int id)
  • Method Details

    • getId

      public int getId()
    • setId

      public void setId(int id)
    • getServerKey

      public Object getServerKey()
    • getStationKey

      public Object getStationKey()
    • incrementNumOfServers

      public void incrementNumOfServers(int num)
    • decrementNumOfServers

      public void decrementNumOfServers(int num)
    • getNumOfServers

      public int getNumOfServers()
    • getName

      public String getName()
    • setNumOfServers

      public void setNumOfServers(int numOfServers)
    • setName

      public void setName(String name)
    • addCompatibility

      public void addCompatibility(Object classKey)
    • isCompatible

      public boolean isCompatible(Object classKey)
    • removeCompatibility

      public void removeCompatibility(Object classKey)
    • getCompatibleClassKeys

      public List<Object> getCompatibleClassKeys()