public class SimpleObjectDiffs extends ObjectDiffs
ObjectDiffs
.Constructor and Description |
---|
SimpleObjectDiffs(java.lang.String objectName,
java.lang.String objectType)
Constructs a
SimpleObjectDiffs . |
Modifier and Type | Method and Description |
---|---|
void |
addArtifactDiff(ArtifactDiff artifactDiff)
Adds an
ArtifactDiff . |
java.util.List<ArtifactDiff> |
getArtifactDiffs()
Returns the list of involved artifacts.
|
java.lang.String |
getObjectId()
Returns the unique identifier that identifies the object.
|
java.lang.String |
getObjectName()
Gets the name of the object.
|
java.lang.String |
getObjectType()
Gets the type of the object.
|
java.lang.String |
getSummary()
Gets the summary of the modifications.
|
java.util.Date |
getUpdateDate()
Gets the date when this change occurred.
|
java.lang.String |
getUpdatedBy()
Gets the user that made this change.
|
java.lang.String |
getUrl()
Returns a URL of the tool used to make this change.
|
void |
setObjectId(java.lang.String id)
Sets the ID of the object.
|
void |
setSummary(java.lang.String s)
Sets the summary.
|
void |
setUpdateDate(java.util.Date date)
Sets the update date.
|
void |
setUpdatedBy(java.lang.String user)
Sets the user that makes the update.
|
void |
setUrl(java.lang.String u)
Sets the URL.
|
java.lang.String |
toString() |
public SimpleObjectDiffs(java.lang.String objectName, java.lang.String objectType)
SimpleObjectDiffs
.objectName
- the name of the objectobjectType
- the type of the objectpublic java.lang.String toString()
toString
in class java.lang.Object
public final java.lang.String getObjectName()
ObjectDiffs
getObjectName
in class ObjectDiffs
public final java.lang.String getObjectType()
ObjectDiffs
getObjectType
in class ObjectDiffs
public java.lang.String getObjectId()
ObjectDiffs
getObjectId
in class ObjectDiffs
public void setObjectId(java.lang.String id)
id
- the ID of the objectpublic java.lang.String getSummary()
ObjectDiffs
getSummary
in class ObjectDiffs
public void setSummary(java.lang.String s)
s
- the summarypublic java.lang.String getUrl()
ObjectDiffs
getUrl
in class ObjectDiffs
null
if
such information is not availablepublic void setUrl(java.lang.String u)
u
- the URLpublic java.util.Date getUpdateDate()
ObjectDiffs
getUpdateDate
in class ObjectDiffs
public void setUpdateDate(java.util.Date date)
date
- the update datepublic java.lang.String getUpdatedBy()
ObjectDiffs
getUpdatedBy
in class ObjectDiffs
public void setUpdatedBy(java.lang.String user)
user
- the user that makes the updatepublic java.util.List<ArtifactDiff> getArtifactDiffs()
ObjectDiffs
getArtifactDiffs
in class ObjectDiffs
public void addArtifactDiff(ArtifactDiff artifactDiff)
ArtifactDiff
. This method returns immediately if
the given object is null.artifactDiff
- the ArtifactDiff
object