public class Artifact extends Object implements Serializable, Cloneable
A discrete item that contains the description and URL of an artifact (such as a PDF).
Constructor and Description |
---|
Artifact() |
Modifier and Type | Method and Description |
---|---|
Artifact |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The associated description for this object.
|
String |
getURL()
The URL for a given Artifact.
|
int |
hashCode() |
void |
setDescription(String description)
The associated description for this object.
|
void |
setURL(String uRL)
The URL for a given Artifact.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Artifact |
withDescription(String description)
The associated description for this object.
|
Artifact |
withURL(String uRL)
The URL for a given Artifact.
|
public String getDescription()
public void setDescription(String description)
description
- The associated description for this object.public Artifact withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The associated description for this object.public String getURL()
public void setURL(String uRL)
uRL
- The URL for a given Artifact.public Artifact withURL(String uRL)
Returns a reference to this object so that method calls can be chained together.
uRL
- The URL for a given Artifact.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.