Class DatabaseModificationKind
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.DatabaseModificationKind
-
- All Implemented Interfaces:
java.io.Serializable
public class DatabaseModificationKind extends java.lang.Object implements java.io.Serializable
Stores the kind of database object that was modified and the kind of modification.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DatabaseModificationKind.ObjectKind
static class
DatabaseModificationKind.OperationKind
-
Field Summary
Fields Modifier and Type Field Description static DatabaseModificationKind[]
EMPTY_ARRAY
-
Constructor Summary
Constructors Constructor Description DatabaseModificationKind(DatabaseModificationKind.ObjectKind objectType, DatabaseModificationKind.OperationKind operationKind)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addAny(java.util.Collection<DatabaseModificationKind> result, DatabaseModificationKind.ObjectKind objectType)
static DatabaseModificationKind[]
any(DatabaseModificationKind.ObjectKind objectType)
static DatabaseModificationKind
createOrDelete(DatabaseModificationKind.ObjectKind objectType)
static DatabaseModificationKind
edit(DatabaseModificationKind.ObjectKind objectType)
boolean
equals(java.lang.Object obj)
DatabaseModificationKind.ObjectKind
getObjectType()
DatabaseModificationKind.OperationKind
getOperationKind()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
EMPTY_ARRAY
public static final DatabaseModificationKind[] EMPTY_ARRAY
-
-
Constructor Detail
-
DatabaseModificationKind
public DatabaseModificationKind(DatabaseModificationKind.ObjectKind objectType, DatabaseModificationKind.OperationKind operationKind)
-
-
Method Detail
-
addAny
public static final void addAny(java.util.Collection<DatabaseModificationKind> result, DatabaseModificationKind.ObjectKind objectType)
-
any
public static final DatabaseModificationKind[] any(DatabaseModificationKind.ObjectKind objectType)
-
createOrDelete
public static final DatabaseModificationKind createOrDelete(DatabaseModificationKind.ObjectKind objectType)
-
edit
public static final DatabaseModificationKind edit(DatabaseModificationKind.ObjectKind objectType)
-
getObjectType
public DatabaseModificationKind.ObjectKind getObjectType()
-
getOperationKind
public DatabaseModificationKind.OperationKind getOperationKind()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-