gov.nasa.pds.registry.model
Class Identifiable

java.lang.Object
  extended by gov.nasa.pds.registry.model.Identifiable
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ObjectRef, RegistryObject

@MappedSuperclass
public abstract class Identifiable
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Identifiable()
           
Identifiable(String guid, String home, Set<Slot> slots)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getGuid()
           
 String getHome()
           
 Set<Slot> getSlots()
           
 int hashCode()
           
 void setGuid(String guid)
           
 void setHome(String home)
           
 void setSlots(Set<Slot> slots)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Identifiable

public Identifiable()

Identifiable

public Identifiable(String guid,
                    String home,
                    Set<Slot> slots)
Method Detail

getGuid

public String getGuid()
Returns:
the guid

getHome

public String getHome()
Returns:
the home

setGuid

public void setGuid(String guid)
Parameters:
guid - the global unique identifier to set

setHome

public void setHome(String home)
Parameters:
home - the home to set

getSlots

public Set<Slot> getSlots()
Returns:
the slots

setSlots

public void setSlots(Set<Slot> slots)
Parameters:
slots - the slots to set

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2005-2010 Planetary Data System. All Rights Reserved.