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

java.lang.Object
  extended by org.apache.archiva.rest.api.model.ArtifactContentEntry
All Implemented Interfaces:
Serializable

public class ArtifactContentEntry
extends Object
implements Serializable

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

Field Summary
private  int depth
           
private  boolean file
           
private  String path
           
private  String repositoryId
           
 
Constructor Summary
ArtifactContentEntry()
           
ArtifactContentEntry(String path, boolean file, int depth, String repositoryId)
           
 
Method Summary
 boolean equals(Object o)
           
 int getDepth()
           
 String getPath()
           
 String getRepositoryId()
           
 int hashCode()
           
 boolean isFile()
           
 void setDepth(int depth)
           
 void setFile(boolean file)
           
 void setPath(String path)
           
 void setRepositoryId(String repositoryId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

path

private String path

file

private boolean file

depth

private int depth

repositoryId

private String repositoryId
Constructor Detail

ArtifactContentEntry

public ArtifactContentEntry()

ArtifactContentEntry

public ArtifactContentEntry(String path,
                            boolean file,
                            int depth,
                            String repositoryId)
Method Detail

getPath

public String getPath()

setPath

public void setPath(String path)

isFile

public boolean isFile()

setFile

public void setFile(boolean file)

getDepth

public int getDepth()

setDepth

public void setDepth(int depth)

getRepositoryId

public String getRepositoryId()

setRepositoryId

public void setRepositoryId(String repositoryId)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.