org.rhq.core.domain.content
Class RepoRelationshipType

java.lang.Object
  extended by org.rhq.core.domain.content.RepoRelationshipType
All Implemented Interfaces:
Serializable

public class RepoRelationshipType
extends Object
implements Serializable

Defines a type of (@link RepoRelationship) e.g. Clone, Parent-child are types of (@link RepoRelationship).

See Also:
Serialized Form

Field Summary
static String QUERY_FIND_BY_NAME
           
 
Constructor Summary
RepoRelationshipType()
           
RepoRelationshipType(String name)
           
 
Method Summary
 void addRepoRelationship(RepoRelationship repoRelationship)
           
 boolean equals(Object obj)
           
 String getDescription()
          Free text description of this repo relationship type.
 int getId()
           
 String getName()
          Programmatic name of the repo relationship type.
 Set<RepoRelationship> getRepoRelationships()
          Repo relationships of this type.
 int hashCode()
           
 void setDescription(String description)
           
 void setId(int id)
           
 void setName(String name)
           
 void setRepoRelationships(Set<RepoRelationship> repoRelationships)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_FIND_BY_NAME

public static final String QUERY_FIND_BY_NAME
See Also:
Constant Field Values
Constructor Detail

RepoRelationshipType

public RepoRelationshipType()

RepoRelationshipType

public RepoRelationshipType(String name)
Method Detail

getId

public int getId()

setId

public void setId(int id)

getName

public String getName()
Programmatic name of the repo relationship type.


setName

public void setName(String name)

getDescription

public String getDescription()
Free text description of this repo relationship type.


setDescription

public void setDescription(String description)

getRepoRelationships

public Set<RepoRelationship> getRepoRelationships()
Repo relationships of this type.


addRepoRelationship

public void addRepoRelationship(RepoRelationship repoRelationship)

setRepoRelationships

public void setRepoRelationships(Set<RepoRelationship> repoRelationships)

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


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.