org.rhq.core.domain.content
Class RepoRelationshipType
java.lang.Object
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
QUERY_FIND_BY_NAME
public static final String QUERY_FIND_BY_NAME
- See Also:
- Constant Field Values
RepoRelationshipType
public RepoRelationshipType()
RepoRelationshipType
public RepoRelationshipType(String name)
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.