org.biojava.bio.structure.io.sifts
Class SiftsEntity

java.lang.Object
  extended by org.biojava.bio.structure.io.sifts.SiftsEntity
All Implemented Interfaces:
Serializable

public class SiftsEntity
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
SiftsEntity()
           
SiftsEntity(String type, String entityId)
           
 
Method Summary
 void addSegment(SiftsSegment s)
           
 boolean equals(Object obj)
           
 String getEntityId()
           
 List<SiftsSegment> getSegments()
           
 String getType()
           
 int hashCode()
           
 void setEntityId(String entityId)
           
 void setSegments(List<SiftsSegment> segments)
           
 void setType(String type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SiftsEntity

public SiftsEntity()

SiftsEntity

public SiftsEntity(String type,
                   String entityId)
Method Detail

addSegment

public void addSegment(SiftsSegment s)

getSegments

public List<SiftsSegment> getSegments()

setSegments

public void setSegments(List<SiftsSegment> segments)

getType

public String getType()

setType

public void setType(String type)

getEntityId

public String getEntityId()

setEntityId

public void setEntityId(String entityId)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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