|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.domain.drift.dto.DriftChangeSetDTO
public class DriftChangeSetDTO
Constructor Summary | |
---|---|
DriftChangeSetDTO()
|
Method Summary | |
---|---|
DriftChangeSetCategory |
getCategory()
Retturns the category that identifies the change set type. |
Long |
getCtime()
|
int |
getDriftDefinitionId()
Returns the id of the owning drift definition. |
DriftConfigurationDefinition.DriftHandlingMode |
getDriftHandlingMode()
Returns the drift handling mode of the owning drift definition at the time of change set creation. |
Set<DriftDTO> |
getDrifts()
|
String |
getId()
Returns a string that uniquely identifies the change set. |
int |
getResourceId()
Returns the id of the resource to which the drift definition is assigned. |
int |
getVersion()
Every change set must be assigned a version that is unique within the context of the owning DriftDefinition . |
void |
setCategory(DriftChangeSetCategory category)
Sets the change set category. |
void |
setCtime(Long ctime)
|
void |
setDriftDefinitionId(int id)
Sets the id of the owning drift definition. |
void |
setDriftHandlingMode(DriftConfigurationDefinition.DriftHandlingMode mode)
Sets the drift handling mode for the change set. |
void |
setDrifts(Set<DriftDTO> drifts)
|
void |
setId(String id)
Sets the change set id which should be unique. |
void |
setResourceId(int id)
Sets the id of the resource to which the drift definition is assigned. |
void |
setVersion(int version)
Sets the change set version number. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DriftChangeSetDTO()
Method Detail |
---|
public String getId()
DriftChangeSet
getId
in interface DriftChangeSet<DriftDTO>
public void setId(String id)
DriftChangeSet
setId
in interface DriftChangeSet<DriftDTO>
id
- The change set identifier that should be uniquepublic Long getCtime()
getCtime
in interface DriftChangeSet<DriftDTO>
public void setCtime(Long ctime)
public int getVersion()
DriftChangeSet
DriftDefinition
. This is analgous to a revision number in a
version control system like SVN.
getVersion
in interface DriftChangeSet<DriftDTO>
DriftDefinition
.public void setVersion(int version)
DriftChangeSet
DriftDefinition
. Change sets should be assigned version numbers in
increasing order. The first change set saved should have a version of N, the second
should have a value of N + 1, etc.
setVersion
in interface DriftChangeSet<DriftDTO>
version
- The version number.public DriftChangeSetCategory getCategory()
DriftChangeSet
getCategory
in interface DriftChangeSet<DriftDTO>
DriftChangeSetCategory
public void setCategory(DriftChangeSetCategory category)
DriftChangeSet
setCategory
in interface DriftChangeSet<DriftDTO>
category
- The category that identifies the change set typeDriftChangeSetCategory
public int getDriftDefinitionId()
DriftChangeSet
getDriftDefinitionId
in interface DriftChangeSet<DriftDTO>
DriftDefinition
idpublic void setDriftDefinitionId(int id)
DriftChangeSet
setDriftDefinitionId
in interface DriftChangeSet<DriftDTO>
id
- The DriftDefinition
idpublic int getResourceId()
DriftChangeSet
getResourceId
in interface DriftChangeSet<DriftDTO>
public void setResourceId(int id)
DriftChangeSet
setResourceId
in interface DriftChangeSet<DriftDTO>
id
- The Resource
idpublic Set<DriftDTO> getDrifts()
getDrifts
in interface DriftChangeSet<DriftDTO>
public void setDrifts(Set<DriftDTO> drifts)
setDrifts
in interface DriftChangeSet<DriftDTO>
drifts
- The entries that make up this change setpublic DriftConfigurationDefinition.DriftHandlingMode getDriftHandlingMode()
DriftChangeSet
getDriftHandlingMode
in interface DriftChangeSet<DriftDTO>
DriftDefinition.DriftHandlingMode
modepublic void setDriftHandlingMode(DriftConfigurationDefinition.DriftHandlingMode mode)
DriftChangeSet
setDriftHandlingMode
in interface DriftChangeSet<DriftDTO>
mode
- The DriftDefinition.DriftHandlingMode
mode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |