edu.internet2.middleware.grouper.attr.value
Class AttributeAssignValueDelegate

java.lang.Object
  extended by edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate

public class AttributeAssignValueDelegate
extends Object

delegate privilege calls from attribute defs


Field Summary
static long allAttributeAssignValuesCacheHitsForTest
          cache hits for testing
static long allAttributeAssignValuesCacheMissesForTest
          cache misses for testing
 
Constructor Summary
AttributeAssignValueDelegate(AttributeAssign attributeAssign1)
           
 
Method Summary
 AttributeAssignValueResult addValue(AttributeAssignValue attributeAssignValue)
          add a value to the attribute assignment
 AttributeAssignValueResult addValue(String value)
          add a value of any type
 AttributeAssignValueResult addValueFloating(Double value)
          add a value of double type
 AttributeAssignValueResult addValueInteger(Long value)
          add a value of integer type
 AttributeAssignValueResult addValueMember(Member value)
          add a value of member type
 AttributeAssignValueResult addValueMember(String value)
          add a value of member type
 AttributeAssignValuesResult addValues(Collection<AttributeAssignValue> attributeAssignValues)
          add values to the attribute assignment
 AttributeAssignValuesResult addValuesAnyType(Collection<String> values)
          add values of any type
 AttributeAssignValuesResult addValuesFloating(Collection<Double> values)
          add values of double type
 AttributeAssignValuesResult addValuesInteger(Collection<Long> values)
          add values of integer type
 AttributeAssignValuesResult addValuesMember(Collection<Member> values)
          add values of member type
 AttributeAssignValuesResult addValuesMemberIds(Collection<String> values)
          add a values of member type
 AttributeAssignValuesResult addValuesString(Collection<String> values)
          add values of type string.
 AttributeAssignValuesResult addValuesTimestamp(Collection<Timestamp> values)
          add values of timestamp type
 AttributeAssignValueResult addValueString(String value)
          add a value of type string.
 AttributeAssignValueResult addValueTimestamp(Timestamp value)
          add a value of timestamp type
 AttributeAssignValueResult assignValue(AttributeAssignValue attributeAssignValue)
          assign a value to this assignment.
 AttributeAssignValueResult assignValue(String value)
          assign a value of any type
 AttributeAssignValueResult assignValueFloating(Double value)
          assign a value of type double.
 AttributeAssignValueResult assignValueInteger(Long value)
          assign a value of type integer.
 AttributeAssignValueResult assignValueMember(Member value)
          assign a value of type member.
 AttributeAssignValueResult assignValueMember(String value)
          assign a value of type member.
 AttributeAssignValuesResult assignValues(Set<AttributeAssignValue> attributeAssignValues, boolean deleteOrphans)
          replace the values.
 AttributeAssignValuesResult assignValuesAnyType(Set<String> values, boolean deleteOrphans)
          replace the values.
 AttributeAssignValuesResult assignValuesFloating(Set<Double> values, boolean deleteOrphans)
          replace the values.
 AttributeAssignValuesResult assignValuesInteger(Set<Long> values, boolean deleteOrphans)
          replace the values.
 AttributeAssignValuesResult assignValuesMember(Set<Member> values, boolean deleteOrphans)
          replace the values.
 AttributeAssignValuesResult assignValuesMemberIds(Set<String> values, boolean deleteOrphans)
          replace the values.
 AttributeAssignValuesResult assignValuesString(Set<String> values, boolean deleteOrphans)
          replace the values.
 AttributeAssignValuesResult assignValuesTimestamp(Set<Timestamp> values, boolean deleteOrphans)
          replace the values.
 AttributeAssignValueResult assignValueString(String value)
          assign a value of type string.
 AttributeAssignValueResult assignValueTimestamp(Timestamp value)
          assign a value of type timestamp.
 AttributeAssignValueResult deleteValue(AttributeAssignValue attributeAssignValue)
          remove this value
 AttributeAssignValueResult deleteValue(String value)
          remove this value of any type
 AttributeAssignValueResult deleteValueFloating(Double value)
          remove this value of floating type
 AttributeAssignValueResult deleteValueInteger(Long value)
          remove this value of integer type
 AttributeAssignValueResult deleteValueMember(Member value)
          remove this value of member type
 AttributeAssignValueResult deleteValueMember(String value)
          remove this value of member id type
 AttributeAssignValuesResult deleteValues(Collection<AttributeAssignValue> attributeAssignValues)
          remove this value
 AttributeAssignValuesResult deleteValuesAnyType(Collection<String> values)
          remove this value of any type
 AttributeAssignValuesResult deleteValuesFloating(Collection<Double> values)
          remove this value of floating type
 AttributeAssignValuesResult deleteValuesInteger(Collection<Long> values)
          remove this value of integer type
 AttributeAssignValuesResult deleteValuesMember(Collection<Member> members)
          remove this value of member type
 AttributeAssignValuesResult deleteValuesMemberIds(Collection<String> memberIds)
          remove this value of string type
 AttributeAssignValuesResult deleteValuesString(Collection<String> values)
          remove this value of string type
 AttributeAssignValuesResult deleteValuesTimestamp(Collection<Timestamp> values)
          remove this value of timestamp type
 AttributeAssignValueResult deleteValueString(String value)
          remove this value of string type
 AttributeAssignValueResult deleteValueTimestamp(Timestamp value)
          remove this value of any type
 AttributeAssignValue findValue(AttributeAssignValue attributeAssignValue)
          find this value (return one if more than one)
 AttributeAssignValue findValue(String value)
          find this value
 AttributeAssignValue findValueFloating(Double value)
          find this value
 AttributeAssignValue findValueInteger(Long value)
          find this value
 AttributeAssignValue findValueMember(Member value)
          find this value
 AttributeAssignValue findValueMember(String value)
          find this value
 Set<AttributeAssignValue> findValues(AttributeAssignValue attributeAssignValue)
          find these values
 Set<AttributeAssignValue> findValues(String value)
          find this value
 Set<AttributeAssignValue> findValuesFloating(Double value)
          find this value
 Set<AttributeAssignValue> findValuesInteger(Long value)
          find these values
 Set<AttributeAssignValue> findValuesMember(Member value)
          find this value
 Set<AttributeAssignValue> findValuesMember(String value)
          find this value
 Set<AttributeAssignValue> findValuesString(String value)
          find these values
 Set<AttributeAssignValue> findValuesTimestamp(Timestamp value)
          find these values
 AttributeAssignValue findValueString(String value)
          find this value
 AttributeAssignValue findValueTimestamp(Timestamp value)
          find this value
 Set<AttributeAssignValue> getAllAttributeAssignValuesCache()
          cache of values
 Set<AttributeAssignValue> getAttributeAssignValues()
          get the values for an assignment or empty set if none
 AttributeAssignValuesResult internal_addValues(Collection<AttributeAssignValue> attributeAssignValues, boolean checkSecurity)
           
 AttributeAssignValuesResult internal_addValuesInteger(Collection<Long> values, AttributeDefValueType attributeDefValueType)
          add values of integer type
 AttributeAssignValueResult internal_assignValue(AttributeAssignValue attributeAssignValue, boolean checkSecurity)
          assign a value to this assignment.
 AttributeAssignValueResult internal_assignValueInteger(Long value, AttributeDefValueType attributeDefValueType)
          assign a value of type integer.
 AttributeAssignValuesResult internal_deleteValues(Collection<AttributeAssignValue> attributeAssignValues, boolean checkSecurity)
          remove these values
 Set<AttributeAssignValue> internal_findValues(AttributeAssignValue attributeAssignValue, boolean checkSecurity)
          find this value, must be the right value type
 Set<AttributeAssignValue> internal_findValues(String value, boolean checkSecurity)
          find this value
 Set<AttributeAssignValue> internal_findValuesFloating(Double value, boolean checkSecurity)
          find this value
 Set<AttributeAssignValue> internal_findValuesInteger(Long value, boolean checkSecurity)
          find these values
 Set<AttributeAssignValue> internal_findValuesMember(Member value, boolean checkSecurity)
          find this value
 Set<AttributeAssignValue> internal_findValuesMember(String value, boolean checkSecurity)
          find this value
 Set<AttributeAssignValue> internal_findValuesString(String value, boolean checkSecurity)
          find these values
 Set<AttributeAssignValue> internal_findValuesTimestamp(Timestamp value, boolean checkSecurity)
          find these values
 Set<AttributeAssignValue> internal_retrieveValues(boolean checkSecurity, boolean filterInvalidTypes)
          get the values for an assignment or empty set if none
 Set<AttributeAssignValue> internal_retrieveValues(boolean checkSecurity, boolean filterInvalidTypes, boolean useCache)
          get the values for an assignment or empty set if none
 int replaceValues(Set<AttributeAssignValue> expectedAttributeAssignValues)
          replace values, update if possible...
 AttributeAssignValue retrieveValue()
          get the values for an assignment or empty set if none
 Double retrieveValueFloating()
          get the floating value (must be floating type)
 Long retrieveValueInteger()
          get the integer value (must be integer type)
 Member retrieveValueMember()
          get the member value (must be member type)
 String retrieveValueMemberId()
          get the member id value (must be member type)
 Set<AttributeAssignValue> retrieveValues()
          get the values for an assignment or empty set if none
 List<Double> retrieveValuesFloating()
          get the floating values (must be floating type)
 List<Long> retrieveValuesInteger()
          get the integer values (must be integer type)
 List<Member> retrieveValuesMember()
          get the member values (must be member type)
 List<String> retrieveValuesMemberId()
          get the member values (must be member type)
 List<String> retrieveValuesString()
          get the string values
 List<Timestamp> retrieveValuesTimestamp()
          get the timestamp value (must be timestamp type)
 String retrieveValueString()
          get the string value
 Timestamp retrieveValueTimestamp()
          get the timestamp value (must be integer type)
 void setAllAttributeAssignValuesCache(Set<AttributeAssignValue> allAttributeAssignValuesCache1)
          cache of values
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

allAttributeAssignValuesCacheHitsForTest

public static long allAttributeAssignValuesCacheHitsForTest
cache hits for testing


allAttributeAssignValuesCacheMissesForTest

public static long allAttributeAssignValuesCacheMissesForTest
cache misses for testing

Constructor Detail

AttributeAssignValueDelegate

public AttributeAssignValueDelegate(AttributeAssign attributeAssign1)
Parameters:
attributeAssign1 -
Method Detail

getAllAttributeAssignValuesCache

public Set<AttributeAssignValue> getAllAttributeAssignValuesCache()
cache of values

Returns:
values

setAllAttributeAssignValuesCache

public void setAllAttributeAssignValuesCache(Set<AttributeAssignValue> allAttributeAssignValuesCache1)
cache of values

Parameters:
allAttributeAssignValuesCache1 -

retrieveValues

public Set<AttributeAssignValue> retrieveValues()
get the values for an assignment or empty set if none

Returns:
the values

getAttributeAssignValues

public Set<AttributeAssignValue> getAttributeAssignValues()
get the values for an assignment or empty set if none

Returns:
the values

internal_retrieveValues

public Set<AttributeAssignValue> internal_retrieveValues(boolean checkSecurity,
                                                         boolean filterInvalidTypes)
get the values for an assignment or empty set if none

Parameters:
checkSecurity -
filterInvalidTypes - if values of invalid types should be filtered out
Returns:
the values

internal_retrieveValues

public Set<AttributeAssignValue> internal_retrieveValues(boolean checkSecurity,
                                                         boolean filterInvalidTypes,
                                                         boolean useCache)
get the values for an assignment or empty set if none

Parameters:
checkSecurity -
filterInvalidTypes - if values of invalid types should be filtered out
useCache -
Returns:
the values

assignValue

public AttributeAssignValueResult assignValue(AttributeAssignValue attributeAssignValue)
assign a value to this assignment. If one exists with a different value, replace, else, reuse, replace it

Parameters:
attributeAssignValue -
Returns:
the value

internal_assignValue

public AttributeAssignValueResult internal_assignValue(AttributeAssignValue attributeAssignValue,
                                                       boolean checkSecurity)
assign a value to this assignment. If one exists with a different value, replace, else, reuse, remove it and replace

Parameters:
attributeAssignValue -
checkSecurity -
Returns:
the value

addValue

public AttributeAssignValueResult addValue(AttributeAssignValue attributeAssignValue)
add a value to the attribute assignment

Parameters:
attributeAssignValue -
Returns:
result

addValues

public AttributeAssignValuesResult addValues(Collection<AttributeAssignValue> attributeAssignValues)
add values to the attribute assignment

Parameters:
attributeAssignValues -
Returns:
result

addValue

public AttributeAssignValueResult addValue(String value)
add a value of any type

Parameters:
value -
Returns:
the value object

addValuesAnyType

public AttributeAssignValuesResult addValuesAnyType(Collection<String> values)
add values of any type

Parameters:
values -
Returns:
the value object

assignValue

public AttributeAssignValueResult assignValue(String value)
assign a value of any type

Parameters:
value -
Returns:
the value object

addValueString

public AttributeAssignValueResult addValueString(String value)
add a value of type string. use addValue() to add a value of any type

Parameters:
value -
Returns:
the value object

addValuesString

public AttributeAssignValuesResult addValuesString(Collection<String> values)
add values of type string. use addValue() to add a value of any type

Parameters:
values -
Returns:
the value object

assignValueString

public AttributeAssignValueResult assignValueString(String value)
assign a value of type string. use assignValue() to assign a value of any type

Parameters:
value -
Returns:
the value object

assignValueFloating

public AttributeAssignValueResult assignValueFloating(Double value)
assign a value of type double. use assignValue() to assign a value of any type

Parameters:
value -
Returns:
the value object

assignValueInteger

public AttributeAssignValueResult assignValueInteger(Long value)
assign a value of type integer. use assignValue() to assign a value of any type

Parameters:
value -
Returns:
the value object

internal_assignValueInteger

public AttributeAssignValueResult internal_assignValueInteger(Long value,
                                                              AttributeDefValueType attributeDefValueType)
assign a value of type integer. use assignValue() to assign a value of any type

Parameters:
value -
attributeDefValueType -
Returns:
the value object

assignValueMember

public AttributeAssignValueResult assignValueMember(Member value)
assign a value of type member. use assignValue() to assign a value of any type

Parameters:
value -
Returns:
the value object

assignValueTimestamp

public AttributeAssignValueResult assignValueTimestamp(Timestamp value)
assign a value of type timestamp. use assignValue() to assign a value of any type

Parameters:
value -
Returns:
the value object

assignValueMember

public AttributeAssignValueResult assignValueMember(String value)
assign a value of type member. use assignValue() to assign a value of any type

Parameters:
value -
Returns:
the value object

addValueFloating

public AttributeAssignValueResult addValueFloating(Double value)
add a value of double type

Parameters:
value -
Returns:
the value object

addValuesFloating

public AttributeAssignValuesResult addValuesFloating(Collection<Double> values)
add values of double type

Parameters:
values -
Returns:
the value object

addValueInteger

public AttributeAssignValueResult addValueInteger(Long value)
add a value of integer type

Parameters:
value -
Returns:
the value object

addValuesInteger

public AttributeAssignValuesResult addValuesInteger(Collection<Long> values)
add values of integer type

Parameters:
values -
Returns:
the value object

internal_addValuesInteger

public AttributeAssignValuesResult internal_addValuesInteger(Collection<Long> values,
                                                             AttributeDefValueType attributeDefValueType)
add values of integer type

Parameters:
values -
attributeDefValueType -
Returns:
the value object

addValuesTimestamp

public AttributeAssignValuesResult addValuesTimestamp(Collection<Timestamp> values)
add values of timestamp type

Parameters:
values -
Returns:
the value objects

addValueTimestamp

public AttributeAssignValueResult addValueTimestamp(Timestamp value)
add a value of timestamp type

Parameters:
value -
Returns:
the value object

addValueMember

public AttributeAssignValueResult addValueMember(Member value)
add a value of member type

Parameters:
value -
Returns:
the value object

addValuesMember

public AttributeAssignValuesResult addValuesMember(Collection<Member> values)
add values of member type

Parameters:
values -
Returns:
the value object

addValueMember

public AttributeAssignValueResult addValueMember(String value)
add a value of member type

Parameters:
value -
Returns:
the value object

addValuesMemberIds

public AttributeAssignValuesResult addValuesMemberIds(Collection<String> values)
add a values of member type

Parameters:
values -
Returns:
the value object

internal_addValues

public AttributeAssignValuesResult internal_addValues(Collection<AttributeAssignValue> attributeAssignValues,
                                                      boolean checkSecurity)
Parameters:
attributeAssignValues -
checkSecurity -
Returns:
result

deleteValue

public AttributeAssignValueResult deleteValue(String value)
remove this value of any type

Parameters:
value -
Returns:
the strings that were deleted

deleteValueInteger

public AttributeAssignValueResult deleteValueInteger(Long value)
remove this value of integer type

Parameters:
value -
Returns:
the strings that were deleted

deleteValueFloating

public AttributeAssignValueResult deleteValueFloating(Double value)
remove this value of floating type

Parameters:
value -
Returns:
the strings that were deleted

deleteValueString

public AttributeAssignValueResult deleteValueString(String value)
remove this value of string type

Parameters:
value -
Returns:
the strings that were deleted

deleteValueTimestamp

public AttributeAssignValueResult deleteValueTimestamp(Timestamp value)
remove this value of any type

Parameters:
value -
Returns:
the strings that were deleted

deleteValueMember

public AttributeAssignValueResult deleteValueMember(Member value)
remove this value of member type

Parameters:
value -
Returns:
the strings that were deleted

deleteValueMember

public AttributeAssignValueResult deleteValueMember(String value)
remove this value of member id type

Parameters:
value -
Returns:
the strings that were deleted

deleteValuesInteger

public AttributeAssignValuesResult deleteValuesInteger(Collection<Long> values)
remove this value of integer type

Parameters:
values -
Returns:
the strings that were deleted

deleteValuesFloating

public AttributeAssignValuesResult deleteValuesFloating(Collection<Double> values)
remove this value of floating type

Parameters:
values -
Returns:
the strings that were deleted

deleteValuesTimestamp

public AttributeAssignValuesResult deleteValuesTimestamp(Collection<Timestamp> values)
remove this value of timestamp type

Parameters:
values -
Returns:
the timestamps that were deleted

assignValuesAnyType

public AttributeAssignValuesResult assignValuesAnyType(Set<String> values,
                                                       boolean deleteOrphans)
replace the values. If the values are there already, ignore, if not, add, if extra already there, remove. Note, the uuids will change if not the same and the values exist

Parameters:
values -
deleteOrphans - if ones in DB should be removed if not match
Returns:
true if made changes, false if not

assignValuesString

public AttributeAssignValuesResult assignValuesString(Set<String> values,
                                                      boolean deleteOrphans)
replace the values. If the values are there already, ignore, if not, add, if extra already there, remove. Note, the uuids will change if not the same and the values exist

Parameters:
values -
deleteOrphans - if ones in DB should be removed if not match
Returns:
true if made changes, false if not

assignValuesMember

public AttributeAssignValuesResult assignValuesMember(Set<Member> values,
                                                      boolean deleteOrphans)
replace the values. If the values are there already, ignore, if not, add, if extra already there, remove. Note, the uuids will change if not the same and the values exist

Parameters:
values -
deleteOrphans - if ones in DB should be removed if not match
Returns:
true if made changes, false if not

assignValuesMemberIds

public AttributeAssignValuesResult assignValuesMemberIds(Set<String> values,
                                                         boolean deleteOrphans)
replace the values. If the values are there already, ignore, if not, add, if extra already there, remove. Note, the uuids will change if not the same and the values exist

Parameters:
values -
deleteOrphans - if ones in DB should be removed if not match
Returns:
true if made changes, false if not

assignValuesTimestamp

public AttributeAssignValuesResult assignValuesTimestamp(Set<Timestamp> values,
                                                         boolean deleteOrphans)
replace the values. If the values are there already, ignore, if not, add, if extra already there, remove. Note, the uuids will change if not the same and the values exist

Parameters:
values -
deleteOrphans - if ones in DB should be removed if not match
Returns:
true if made changes, false if not

assignValuesFloating

public AttributeAssignValuesResult assignValuesFloating(Set<Double> values,
                                                        boolean deleteOrphans)
replace the values. If the values are there already, ignore, if not, add, if extra already there, remove. Note, the uuids will change if not the same and the values exist

Parameters:
values -
deleteOrphans - if ones in DB should be removed if not match
Returns:
true if made changes, false if not

assignValuesInteger

public AttributeAssignValuesResult assignValuesInteger(Set<Long> values,
                                                       boolean deleteOrphans)
replace the values. If the values are there already, ignore, if not, add, if extra already there, remove. Note, the uuids will change if not the same and the values exist

Parameters:
values -
deleteOrphans - if ones in DB should be removed if not match
Returns:
true if made changes, false if not

assignValues

public AttributeAssignValuesResult assignValues(Set<AttributeAssignValue> attributeAssignValues,
                                                boolean deleteOrphans)
replace the values. If the values are there already, ignore, if not, add, if extra already there, remove. Note, the uuids will change if not the same and the values exist

Parameters:
attributeAssignValues -
deleteOrphans - if ones in DB should be removed if not match
Returns:
true if made changes, false if not

deleteValuesString

public AttributeAssignValuesResult deleteValuesString(Collection<String> values)
remove this value of string type

Parameters:
values -
Returns:
the strings that were deleted

deleteValuesMemberIds

public AttributeAssignValuesResult deleteValuesMemberIds(Collection<String> memberIds)
remove this value of string type

Parameters:
memberIds -
Returns:
the strings that were deleted

deleteValuesMember

public AttributeAssignValuesResult deleteValuesMember(Collection<Member> members)
remove this value of member type

Parameters:
members -
Returns:
the strings that were deleted

deleteValuesAnyType

public AttributeAssignValuesResult deleteValuesAnyType(Collection<String> values)
remove this value of any type

Parameters:
values -
Returns:
the strings that were deleted

deleteValue

public AttributeAssignValueResult deleteValue(AttributeAssignValue attributeAssignValue)
remove this value

Parameters:
attributeAssignValue -
Returns:
the result

deleteValues

public AttributeAssignValuesResult deleteValues(Collection<AttributeAssignValue> attributeAssignValues)
remove this value

Parameters:
attributeAssignValues -
Returns:
result

findValue

public AttributeAssignValue findValue(AttributeAssignValue attributeAssignValue)
find this value (return one if more than one)

Parameters:
attributeAssignValue - to find (by value)
Returns:
the value if found, or null if not

findValues

public Set<AttributeAssignValue> findValues(AttributeAssignValue attributeAssignValue)
find these values

Parameters:
attributeAssignValue - to find (by value)
Returns:
the value if found, or null if not

findValue

public AttributeAssignValue findValue(String value)
find this value

Parameters:
value - to find (any type)
Returns:
the value if found, or null if not

findValues

public Set<AttributeAssignValue> findValues(String value)
find this value

Parameters:
value - to find (any type)
Returns:
the value if found, or empty if not

internal_findValues

public Set<AttributeAssignValue> internal_findValues(String value,
                                                     boolean checkSecurity)
find this value

Parameters:
value - to find (any type)
checkSecurity -
Returns:
the value if found, or empty if not

findValueFloating

public AttributeAssignValue findValueFloating(Double value)
find this value

Parameters:
value - to find (floating type)
Returns:
the value if found, or null if not

findValuesFloating

public Set<AttributeAssignValue> findValuesFloating(Double value)
find this value

Parameters:
value - to find (floating type)
Returns:
the value if found, or empty if not

internal_findValuesFloating

public Set<AttributeAssignValue> internal_findValuesFloating(Double value,
                                                             boolean checkSecurity)
find this value

Parameters:
value - to find (floating type)
checkSecurity -
Returns:
the value if found, or empty if not

findValueInteger

public AttributeAssignValue findValueInteger(Long value)
find this value

Parameters:
value - to find (integer type)
Returns:
the value if found, or null if not

findValueString

public AttributeAssignValue findValueString(String value)
find this value

Parameters:
value - to find (string type)
Returns:
the value if found, or null if not

findValuesInteger

public Set<AttributeAssignValue> findValuesInteger(Long value)
find these values

Parameters:
value - to find (integer type)
Returns:
the value if found, or empty if not

findValuesString

public Set<AttributeAssignValue> findValuesString(String value)
find these values

Parameters:
value - to find (string type)
Returns:
the value if found, or empty if not

internal_findValuesInteger

public Set<AttributeAssignValue> internal_findValuesInteger(Long value,
                                                            boolean checkSecurity)
find these values

Parameters:
value - to find (integer type)
checkSecurity -
Returns:
the value if found, or empty if not

internal_findValuesString

public Set<AttributeAssignValue> internal_findValuesString(String value,
                                                           boolean checkSecurity)
find these values

Parameters:
value - to find (string type)
checkSecurity -
Returns:
the value if found, or empty if not

findValueMember

public AttributeAssignValue findValueMember(String value)
find this value

Parameters:
value - to find (member type)
Returns:
the value if found, or null if not

findValuesMember

public Set<AttributeAssignValue> findValuesMember(String value)
find this value

Parameters:
value - to find (member type)
Returns:
the value if found, or empty if not

internal_findValuesMember

public Set<AttributeAssignValue> internal_findValuesMember(String value,
                                                           boolean checkSecurity)
find this value

Parameters:
value - to find (member type)
checkSecurity -
Returns:
the value if found, or empty if not

findValueTimestamp

public AttributeAssignValue findValueTimestamp(Timestamp value)
find this value

Parameters:
value - to find (timestamp type)
Returns:
the value if found, or null if not

findValuesTimestamp

public Set<AttributeAssignValue> findValuesTimestamp(Timestamp value)
find these values

Parameters:
value - to find (timestamp type)
Returns:
the value if found, or empty if not

internal_findValuesTimestamp

public Set<AttributeAssignValue> internal_findValuesTimestamp(Timestamp value,
                                                              boolean checkSecurity)
find these values

Parameters:
value - to find (timestamp type)
checkSecurity -
Returns:
the value if found, or empty if not

findValuesMember

public Set<AttributeAssignValue> findValuesMember(Member value)
find this value

Parameters:
value - to find (floating type)
Returns:
the value if found, or empty if not

internal_findValuesMember

public Set<AttributeAssignValue> internal_findValuesMember(Member value,
                                                           boolean checkSecurity)
find this value

Parameters:
value - to find (floating type)
checkSecurity -
Returns:
the value if found, or empty if not

findValueMember

public AttributeAssignValue findValueMember(Member value)
find this value

Parameters:
value - to find (floating type)
Returns:
the value if found, or null if not

internal_findValues

public Set<AttributeAssignValue> internal_findValues(AttributeAssignValue attributeAssignValue,
                                                     boolean checkSecurity)
find this value, must be the right value type

Parameters:
attributeAssignValue - to find (by value)
checkSecurity -
Returns:
the values if found, or empty if not

internal_deleteValues

public AttributeAssignValuesResult internal_deleteValues(Collection<AttributeAssignValue> attributeAssignValues,
                                                         boolean checkSecurity)
remove these values

Parameters:
attributeAssignValues -
checkSecurity -
Returns:
the result

retrieveValue

public AttributeAssignValue retrieveValue()
get the values for an assignment or empty set if none

Returns:
the values

retrieveValueString

public String retrieveValueString()
get the string value

Returns:
the string value

retrieveValueInteger

public Long retrieveValueInteger()
get the integer value (must be integer type)

Returns:
the integer value

retrieveValueFloating

public Double retrieveValueFloating()
get the floating value (must be floating type)

Returns:
the floating value

retrieveValuesFloating

public List<Double> retrieveValuesFloating()
get the floating values (must be floating type)

Returns:
the floating values

retrieveValuesInteger

public List<Long> retrieveValuesInteger()
get the integer values (must be integer type)

Returns:
the integer values

retrieveValuesMember

public List<Member> retrieveValuesMember()
get the member values (must be member type)

Returns:
the member values

retrieveValuesMemberId

public List<String> retrieveValuesMemberId()
get the member values (must be member type)

Returns:
the member values

retrieveValuesTimestamp

public List<Timestamp> retrieveValuesTimestamp()
get the timestamp value (must be timestamp type)

Returns:
the timestamp value

retrieveValuesString

public List<String> retrieveValuesString()
get the string values

Returns:
the string values

retrieveValueMember

public Member retrieveValueMember()
get the member value (must be member type)

Returns:
the member value

retrieveValueMemberId

public String retrieveValueMemberId()
get the member id value (must be member type)

Returns:
the member value

retrieveValueTimestamp

public Timestamp retrieveValueTimestamp()
get the timestamp value (must be integer type)

Returns:
the timestamp value

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

replaceValues

public int replaceValues(Set<AttributeAssignValue> expectedAttributeAssignValues)
replace values, update if possible... works for single or multi-assign

Parameters:
expectedAttributeAssignValues -
Returns:
the number of records updated