java.lang.Objectucot.model.Updation
public class Updation
Class contains updation information about the model. It contains the type of change and information about the change.
For example deletion of method would look like this:
new Updatition(UpdationType.DELETION, UpdatioDatatype.METHOD, "entity", "method");
It can be used to signal that the "method" of "entity" is deleted.
Nested Class Summary | |
---|---|
static class |
Updation.UpdationDataType
Contains information about the type beign changed. |
static class |
Updation.UpdationType
Contains information about the updation type. |
Field Summary | |
---|---|
(package private) Updation.UpdationDataType |
dataType
|
(package private) java.lang.String[] |
references
|
static long |
serialVersionUID
|
(package private) Updation.UpdationType |
type
|
Constructor Summary | |
---|---|
Updation()
Initializes empty instance Updation . |
|
Updation(Updation.UpdationType type)
Initializes new instance of Updation
which has the given UpdationType
as value. |
|
Updation(Updation.UpdationType type,
Updation.UpdationDataType dataType)
Initializes new instance of Updation
which has the given UpdationType
and UpdationDataType as values. |
|
Updation(Updation.UpdationType type,
Updation.UpdationDataType dataType,
java.lang.String... references)
Initializes new instance of Updation
which has the given UpdationType ,
UpdationDataType and references as values. |
Method Summary | |
---|---|
Updation.UpdationDataType |
getDataType()
Returns the UpdationDataType of
this instance of updation . |
java.lang.String[] |
getReferences()
Returns the references carried by this instance of updation . |
Updation.UpdationType |
getType()
Returns the UpdationType of
this instance of Updation . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Updation.UpdationType type
Updation.UpdationDataType dataType
java.lang.String[] references
Constructor Detail |
---|
public Updation()
Initializes empty instance Updation
.
UpdationType
of this is "no operation"
and this does not carry any data.
public Updation(Updation.UpdationType type, Updation.UpdationDataType dataType)
Initializes new instance of Updation
which has the given UpdationType
and UpdationDataType
as values.
type
- UpdationType
of this
Updation
dataType
- UpdationDataType
of this
Updation
public Updation(Updation.UpdationType type, Updation.UpdationDataType dataType, java.lang.String... references)
Initializes new instance of Updation
which has the given UpdationType
,
UpdationDataType
and references as values.
type
- UpdationType
of this
Updation
dataType
- UpdationDataType
of this
Updation
references
- References of this Updation
.
The references that should be carried depend on
the used UpdationDataType
.Updation.UpdationDataType
public Updation(Updation.UpdationType type)
Initializes new instance of Updation
which has the given UpdationType
as value.
type
- UpdationType
of this
Updation
Method Detail |
---|
public Updation.UpdationDataType getDataType()
Returns the UpdationDataType
of
this instance of updation
.
UpdationDataType
of
this Updation
.public java.lang.String[] getReferences()
Returns the references carried by
this instance of updation
.
What the references are can be
deciphered by checking the
UpdationDataType
of
this Updation
.
Updation
.Updation.UpdationDataType
,
getDataType()
public Updation.UpdationType getType()
Returns the UpdationType
of
this instance of Updation
.
UpdationType
of
this Updation
.