com.projectdarkstar.tools.dtc.domain
Class PkgLibraryTag

java.lang.Object
  extended by com.projectdarkstar.tools.dtc.domain.PkgLibraryTag
All Implemented Interfaces:
Serializable

public class PkgLibraryTag
extends Object
implements Serializable

Represents a tag entity used to categorize PkgLibrary objects.

See Also:
Serialized Form

Constructor Summary
PkgLibraryTag()
           
PkgLibraryTag(String tag)
           
 
Method Summary
 boolean equals(Object o)
           
 Long getId()
          Returns the id of the entity in persistent storage
 List<PkgLibrary> getLibraries()
          Returns the list of PkgLibrary objects that are tagged with this tag.
 String getTag()
           
 int hashCode()
           
 void setId(Long id)
           
 void setLibraries(List<PkgLibrary> libraries)
           
 void setTag(String tag)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PkgLibraryTag

public PkgLibraryTag()

PkgLibraryTag

public PkgLibraryTag(String tag)
Method Detail

getId

public Long getId()
Returns the id of the entity in persistent storage

Returns:
id of the entity

setId

public void setId(Long id)

getTag

public String getTag()

setTag

public void setTag(String tag)

getLibraries

public List<PkgLibrary> getLibraries()
Returns the list of PkgLibrary objects that are tagged with this tag.

Returns:
libraries tagged with this tag.

setLibraries

public void setLibraries(List<PkgLibrary> libraries)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.