1 16 package org.apache.juddi.datatype.request; 17 18 import org.apache.juddi.datatype.RegistryObject; 19 import org.apache.juddi.datatype.response.CompletionStatus; 20 21 33 public class GetAssertionStatusReport implements RegistryObject,Publish 34 { 35 42 public static final String STATUS_COMPLETE = "status:complete"; 43 44 50 public static final String STATUS_TOKEY_INCOMPLETE = "status:toKey_incomplete"; 51 52 58 public static final String STATUS_FROMKEY_INCOMPLETE = "status:fromKey_incomplete"; 59 60 String generic; 61 AuthInfo authInfo; 62 String completionStatus; 63 64 67 public GetAssertionStatusReport() 68 { 69 } 70 71 74 public GetAssertionStatusReport(AuthInfo authInfo) 75 { 76 this.authInfo = authInfo; 77 } 78 79 83 public void setGeneric(String genericValue) 84 { 85 this.generic = genericValue; 86 } 87 88 92 public String getGeneric() 93 { 94 return this.generic; 95 } 96 97 100 public AuthInfo getAuthInfo() 101 { 102 return this.authInfo; 103 } 104 105 108 public void setAuthInfo(AuthInfo authInfo) 109 { 110 this.authInfo = authInfo; 111 } 112 113 116 public String getCompletionStatus() 117 { 118 return this.completionStatus; 119 } 120 121 124 public void setCompletionStatus(String status) 125 { 126 this.completionStatus = status; 127 } 128 129 132 public void setCompletionStatus(CompletionStatus status) 133 { 134 if (status != null) 135 this.completionStatus = status.getValue(); 136 else 137 this.completionStatus = null; 138 } 139 } | Popular Tags |