|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bibalex.daf.managers.checkin.ExternalIDsUtilities
public class ExternalIDsUtilities
Contains common methods to handle ExternalID[].
Constructor Summary | |
---|---|
ExternalIDsUtilities()
|
Method Summary | |
---|---|
static boolean |
allHaveDifferentTypes(ExternalID[] data)
Determines whether all the items in the given have different external ID type. |
static boolean |
areValuesPresent(ExternalID[] data)
Determines whether all the items has values associated with them. |
static boolean |
hasOneDefaultItem(ExternalID[] data)
Determines whether the given array has exactly one item with whose default is set to true. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExternalIDsUtilities()
Method Detail |
---|
public static boolean hasOneDefaultItem(ExternalID[] data)
data
- The data to examine.
public static boolean areValuesPresent(ExternalID[] data)
data
- The data to examine.
public static boolean allHaveDifferentTypes(ExternalID[] data)
data
- The data to examine.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |