|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kns.util.ForeignKeyFieldsPopulationState
public class ForeignKeyFieldsPopulationState
This class is a token-style class, that is write-once, then read-only for all consumers of the class. It is often used as a return value from various PersistenceStructureService methods. The object represents the state of the foreign-key fields of a reference object. For example, if Account is the bo, and organization is the reference object, then chartOfAccountsCode and organizationCode are the foreign key fields. Their state, rather they are all filled out, whether any of them are filled out, and which ones are not filled out, is what this class represents.
Constructor Summary | |
---|---|
ForeignKeyFieldsPopulationState(boolean allFieldsPopulated,
boolean anyFieldsPopulated,
java.util.List<java.lang.String> unpopulatedFieldNames)
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getUnpopulatedFieldNames()
Gets the unpopulatedFieldNames attribute. |
boolean |
hasUnpopulatedFieldName(java.lang.String fieldName)
|
boolean |
isAllFieldsPopulated()
Gets the allFieldsPopulated attribute. |
boolean |
isAnyFieldsPopulated()
Gets the anyFieldsPopulated attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ForeignKeyFieldsPopulationState(boolean allFieldsPopulated, boolean anyFieldsPopulated, java.util.List<java.lang.String> unpopulatedFieldNames)
Method Detail |
---|
public boolean isAllFieldsPopulated()
public boolean isAnyFieldsPopulated()
public java.util.List<java.lang.String> getUnpopulatedFieldNames()
public boolean hasUnpopulatedFieldName(java.lang.String fieldName)
org.kuali.rice.kns.service.PersistenceStructureService.ForeignKeyFieldsPopulation#hasUnpopulatedFieldName(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |