public class ArchivaArtifactModel extends Object implements Serializable
Constructor and Description |
---|
ArchivaArtifactModel() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Method equals.
|
String |
getArtifactId()
Get the Artifact ID of the repository content.
|
String |
getChecksumMD5()
Get the MD5 checksum for the artifact file.
|
String |
getChecksumSHA1()
Get the SHA1 checksum for the artifact file.
|
String |
getClassifier()
Get the classifier for this artifact.
|
String |
getGroupId()
Get the Group ID of the repository content.
|
Date |
getLastModified()
Get the Last Modified Timestamp of this artifact.
|
String |
getRepositoryId()
Get the repository associated with this content.
|
long |
getSize()
Get the size of the artifact on disk.
|
String |
getType()
Get the type of artifact.
|
String |
getVersion()
Get the version of the repository content.
|
Date |
getWhenGathered()
Get when this artifact was gathered or discovered from the
repository.
|
int |
hashCode()
Method hashCode.
|
boolean |
isSnapshot()
Get true if this is a snapshot.
|
void |
setArtifactId(String artifactId)
Set the Artifact ID of the repository content.
|
void |
setChecksumMD5(String checksumMD5)
Set the MD5 checksum for the artifact file.
|
void |
setChecksumSHA1(String checksumSHA1)
Set the SHA1 checksum for the artifact file.
|
void |
setClassifier(String classifier)
Set the classifier for this artifact.
|
void |
setGroupId(String groupId)
Set the Group ID of the repository content.
|
void |
setLastModified(Date lastModified)
Set the Last Modified Timestamp of this artifact.
|
void |
setRepositoryId(String repositoryId)
Set the repository associated with this content.
|
void |
setSize(long size)
Set the size of the artifact on disk.
|
void |
setSnapshot(boolean snapshot)
Set true if this is a snapshot.
|
void |
setType(String type)
Set the type of artifact.
|
void |
setVersion(String version)
Set the version of the repository content.
|
void |
setWhenGathered(Date whenGathered)
Set when this artifact was gathered or discovered from the
repository.
|
String |
toString()
Method toString.
|
public ArchivaArtifactModel()
public String getArtifactId()
public String getChecksumMD5()
public String getChecksumSHA1()
public String getClassifier()
public String getGroupId()
public Date getLastModified()
public String getRepositoryId()
public long getSize()
public String getVersion()
public Date getWhenGathered()
public boolean isSnapshot()
public void setArtifactId(String artifactId)
artifactId
- public void setChecksumMD5(String checksumMD5)
checksumMD5
- public void setChecksumSHA1(String checksumSHA1)
checksumSHA1
- public void setClassifier(String classifier)
classifier
- public void setGroupId(String groupId)
groupId
- public void setLastModified(Date lastModified)
lastModified
- public void setRepositoryId(String repositoryId)
repositoryId
- public void setSize(long size)
size
- public void setSnapshot(boolean snapshot)
snapshot
- public void setVersion(String version)
version
- public void setWhenGathered(Date whenGathered)
whenGathered
- Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.