vSphere Client SDK API Documentation : version 5.5.0.1300321

com.vmware.vise.core.model
Class IdentifiableGenerationNumber

java.lang.Object
  extended by com.vmware.vise.core.model.IdentifiableGenerationNumber

public final class IdentifiableGenerationNumber
extends Object

Contains a generation number (for some object or resource) and a key representing the source of the generation number.


Field Summary
 String key
          The provider key.
 Long value
          The generation number value for a given provider.
 
Constructor Summary
IdentifiableGenerationNumber()
           
 
Method Summary
 boolean equals(Object o)
          Indicates whether this instance and a specified object are equal.
 int hashCode()
          Returns the hash code for this instance.
static IdentifiableGenerationNumber newInstance(String key, Long value)
          Returns an instance of this class with the given values.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

public String key
The provider key.


value

public Long value
The generation number value for a given provider.

Constructor Detail

IdentifiableGenerationNumber

public IdentifiableGenerationNumber()
Method Detail

newInstance

public static IdentifiableGenerationNumber newInstance(String key,
                                                       Long value)
Returns an instance of this class with the given values.

Parameters:
key - The provider key.
value - The generation number value for a given provider.

equals

public boolean equals(Object o)
Indicates whether this instance and a specified object are equal.

Overrides:
equals in class Object

hashCode

public int hashCode()
Returns the hash code for this instance.

Overrides:
hashCode in class Object

vSphere Client SDK API Documentation : version 5.5.0.1300321

Copyright @ 2012 VMware, Inc. All rights reserved.