Class WsAssignAttributeBatchResult
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsAssignAttributeBatchResult
- All Implemented Interfaces:
Comparable<WsAssignAttributeBatchResult>
public class WsAssignAttributeBatchResult
extends Object
implements Comparable<WsAssignAttributeBatchResult>
holds an attribute assign result. Also holds value results (if value operations were performed).
note if attribute assignments have values and the attribute is removed, the values will not be in
this result
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumresult code of a request. -
Constructor Summary
ConstructorsConstructorDescriptionconstructorWsAssignAttributeBatchResult(WsAssignAttributesResults wsAssignAttributesResults, WsAssignAttributeResult wsAssignAttributeResult) WsAssignAttributeBatchResult(WsAssignAttributesResults wsAssignAttributesResults, String theError, Exception e) construct with error/exception. -
Method Summary
Modifier and TypeMethodDescriptionvoidassignResultCode(WsAssignAttributeBatchResult.WsAssignAttributeBatchResultCode wsAssignAttributeBatchResultCode) assign the code from the enumintsort by the underlying attribute assignif this assignment was changed, T|Fif this assignment was deleted, T|Fif the values were changed, T|Fassignment involvedset of results of this attribute assign valueconvert string to result codevoidsetChanged(String changed1) if this assignment was changed, T|FvoidsetDeleted(String deleted1) if this assignment was deleted, T|FvoidsetResultMetadata(WsResultMeta resultMetadata1) voidsetValuesChanged(String valuesChanged1) if the values were changed, T|FvoidsetWsAttributeAssigns(WsAttributeAssign[] wsAttributeAssigns1) assignment involvedvoidsetWsAttributeAssignValueResults(WsAttributeAssignValueResult[] wsAttributeAssignValueResults1) set of results of this attribute assign value
-
Constructor Details
-
WsAssignAttributeBatchResult
public WsAssignAttributeBatchResult()constructor -
WsAssignAttributeBatchResult
public WsAssignAttributeBatchResult(WsAssignAttributesResults wsAssignAttributesResults, WsAssignAttributeResult wsAssignAttributeResult) - Parameters:
wsAssignAttributesResults-wsAssignAttributeResult-
-
WsAssignAttributeBatchResult
public WsAssignAttributeBatchResult(WsAssignAttributesResults wsAssignAttributesResults, String theError, Exception e) construct with error/exception. default to the result if possible, else assign- Parameters:
wsAssignAttributesResults-theError-e-
-
-
Method Details
-
assignResultCode
public void assignResultCode(WsAssignAttributeBatchResult.WsAssignAttributeBatchResultCode wsAssignAttributeBatchResultCode) assign the code from the enum- Parameters:
wsAssignAttributeBatchResultCode-
-
getWsAttributeAssignValueResults
set of results of this attribute assign value- Returns:
- the array of result object
-
setWsAttributeAssignValueResults
public void setWsAttributeAssignValueResults(WsAttributeAssignValueResult[] wsAttributeAssignValueResults1) set of results of this attribute assign value- Parameters:
wsAttributeAssignValueResults1-
-
getValuesChanged
if the values were changed, T|F- Returns:
- if the values were changed, T|F
-
setValuesChanged
if the values were changed, T|F- Parameters:
valuesChanged1-
-
getChanged
if this assignment was changed, T|F- Returns:
- if changed
-
setChanged
if this assignment was changed, T|F- Parameters:
changed1-
-
compareTo
sort by the underlying attribute assign- Specified by:
compareToin interfaceComparable<WsAssignAttributeBatchResult>- See Also:
-
getDeleted
if this assignment was deleted, T|F- Returns:
- if this assignment was deleted, T|F
-
setDeleted
if this assignment was deleted, T|F- Parameters:
deleted1-
-
getResultMetadata
- Returns:
- the resultMetadata
-
resultCode
convert string to result code- Returns:
- the result code
-
setResultMetadata
- Parameters:
resultMetadata1- the resultMetadata to set
-
getWsAttributeAssigns
assignment involved- Returns:
- assignment involved
-
setWsAttributeAssigns
assignment involved- Parameters:
wsAttributeAssigns1-
-