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.Objectpublic final java.lang.String getObjectName()
ObjectDiffsgetObjectName in class ObjectDiffspublic final java.lang.String getObjectType()
ObjectDiffsgetObjectType in class ObjectDiffspublic java.lang.String getObjectId()
ObjectDiffsgetObjectId in class ObjectDiffspublic void setObjectId(java.lang.String id)
id - the ID of the objectpublic java.lang.String getSummary()
ObjectDiffsgetSummary in class ObjectDiffspublic void setSummary(java.lang.String s)
s - the summarypublic java.lang.String getUrl()
ObjectDiffsgetUrl in class ObjectDiffsnull if
such information is not availablepublic void setUrl(java.lang.String u)
u - the URLpublic java.util.Date getUpdateDate()
ObjectDiffsgetUpdateDate in class ObjectDiffspublic void setUpdateDate(java.util.Date date)
date - the update datepublic java.lang.String getUpdatedBy()
ObjectDiffsgetUpdatedBy in class ObjectDiffspublic void setUpdatedBy(java.lang.String user)
user - the user that makes the updatepublic java.util.List<ArtifactDiff> getArtifactDiffs()
ObjectDiffsgetArtifactDiffs in class ObjectDiffspublic void addArtifactDiff(ArtifactDiff artifactDiff)
ArtifactDiff. This method returns immediately if
the given object is null.artifactDiff - the ArtifactDiff object