|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.openexchange.admin.rmi.dataobjects.EnforceableDataObject
public abstract class EnforceableDataObject
| Constructor Summary | |
|---|---|
EnforceableDataObject()
The default constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
abstract String[] |
getMandatoryMembersChange()
This method must be implemented and it must return a String array containing all names of mandatory members of the corresponding class required to CHANGE data. |
abstract String[] |
getMandatoryMembersCreate()
This method must be implemented and it must return a String array containing all names of mandatory members of the corresponding class required to CREATE data. |
abstract String[] |
getMandatoryMembersDelete()
This method must be implemented and it must return a String array containing all names of mandatory members of the corresponding class required to DELETE data. |
abstract String[] |
getMandatoryMembersRegister()
This method must be implemented and it must return a String array containing all names of mandatory members of the corresponding class required to REGISTER data. |
ArrayList<String> |
getUnsetMembers()
Returns those fields which are failing during a mandatory members check. |
int |
hashCode()
|
boolean |
mandatoryChangeMembersSet()
Checks if the mandatory members for change are set for an object |
boolean |
mandatoryCreateMembersSet()
Checks if the mandatory members for create are set for an object |
boolean |
mandatoryDeleteMembersSet()
Checks if the mandatory members for delete are set for an object |
boolean |
mandatoryRegisterMembersSet()
Checks if the mandatory members for register are set for an object |
void |
testMandatoryCreateFieldsNull()
This method is used to check that the mandatory fields specified for create aren't set to null through a change |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnforceableDataObject()
| Method Detail |
|---|
public abstract String[] getMandatoryMembersCreate()
public abstract String[] getMandatoryMembersChange()
public abstract String[] getMandatoryMembersDelete()
public abstract String[] getMandatoryMembersRegister()
public boolean mandatoryCreateMembersSet()
throws EnforceableDataObjectException
EnforceableDataObjectException
public boolean mandatoryChangeMembersSet()
throws EnforceableDataObjectException
EnforceableDataObjectException
public boolean mandatoryDeleteMembersSet()
throws EnforceableDataObjectException
EnforceableDataObjectException
public boolean mandatoryRegisterMembersSet()
throws EnforceableDataObjectException
EnforceableDataObjectExceptionpublic ArrayList<String> getUnsetMembers()
mandatoryCreateMembersSet(), mandatoryChangeMembersSet(),
mandatoryDeleteMembersSet() or mandatoryRegisterMembersSet() to determine the missing fields
ArrayList containing the missing fieldspublic String toString()
toString in class Object
public void testMandatoryCreateFieldsNull()
throws InvalidDataException
enforcableobject -
InvalidDataExceptionpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||