Class SanStorageRegistry

java.lang.Object
cloudreports.models.SanStorageRegistry
All Implemented Interfaces:
Serializable

public final class SanStorageRegistry extends Object implements Serializable
A SAN registry stores basic information about a storage area network owned by a datacenter.
Since:
1.0
Author:
Thiago T. Sá
See Also:
  • Constructor Details

    • SanStorageRegistry

      public SanStorageRegistry()
  • Method Details

    • getId

      public long getId()
      Gets the SAN's id.
      Returns:
      the SAN's id.
    • setId

      public void setId(long id)
      Sets the SAN's id.
      Parameters:
      id - the SAN's id.
    • getCapacity

      public long getCapacity()
      Gets the SAN's capacity.
      Returns:
      the SAN's capacity.
    • setCapacity

      public void setCapacity(long capacity)
      Sets the SAN's capacity.
      Parameters:
      capacity - the SAN's capacity.
    • getBandwidth

      public double getBandwidth()
      Gets the SAN's bandwidth.
      Returns:
      the SAN's bandwidth.
    • setBandwidth

      public void setBandwidth(double bandwidth)
      Sets the SAN's bandwidth.
      Parameters:
      bandwidth - the SAN's bandwidth.
    • getNetworkLatency

      public double getNetworkLatency()
      Gets the SAN's latency.
      Returns:
      the SAN's latency.
    • setNetworkLatency

      public void setNetworkLatency(double networkLatency)
      Sets the SAN's latency.
      Parameters:
      networkLatency - the SAN's latency.
    • getName

      public String getName()
      Gets the SAN's name.
      Returns:
      the SAN's name.
    • setName

      public void setName(String name)
      Sets the SAN's name.
      Parameters:
      name - the SAN's name.
    • equals

      public boolean equals(Object sanStorage)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object