org.apache.archiva.rest.api.model
Class BrowseResultEntry

java.lang.Object
  extended by org.apache.archiva.rest.api.model.BrowseResultEntry
All Implemented Interfaces:
Serializable, Comparable<BrowseResultEntry>

public class BrowseResultEntry
extends Object
implements Comparable<BrowseResultEntry>, Serializable

Since:
1.4-M3
Author:
Olivier Lamy
See Also:
Serialized Form

Constructor Summary
BrowseResultEntry()
           
BrowseResultEntry(String name, boolean project)
           
 
Method Summary
 BrowseResultEntry artifactId(String artifactId)
           
 int compareTo(BrowseResultEntry browseGroupResultEntry)
           
 boolean equals(Object o)
           
 String getArtifactId()
           
 String getGroupId()
           
 String getName()
           
 BrowseResultEntry groupId(String groupId)
           
 int hashCode()
           
 boolean isProject()
           
 void setArtifactId(String artifactId)
           
 void setGroupId(String groupId)
           
 void setName(String name)
           
 void setProject(boolean project)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BrowseResultEntry

public BrowseResultEntry()

BrowseResultEntry

public BrowseResultEntry(String name,
                         boolean project)
Method Detail

getName

public String getName()

setName

public void setName(String name)

isProject

public boolean isProject()

setProject

public void setProject(boolean project)

compareTo

public int compareTo(BrowseResultEntry browseGroupResultEntry)
Specified by:
compareTo in interface Comparable<BrowseResultEntry>

getGroupId

public String getGroupId()

setGroupId

public void setGroupId(String groupId)

groupId

public BrowseResultEntry groupId(String groupId)

getArtifactId

public String getArtifactId()

setArtifactId

public void setArtifactId(String artifactId)

artifactId

public BrowseResultEntry artifactId(String artifactId)

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.