[java-opensaml COMMIT] in /trunk/opensaml-soap-api/src/main/java/org/opensaml/soap: soap11/ActorBearing.java soap11/E...

noreply at shibboleth.net noreply at shibboleth.net
Tue Jan 15 00:22:29 EST 2013


Author: scantor
Date: Tue Jan 15 00:22:29 2013
New Revision: 3146

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3146&view=rev
Log:
Annotations/constraints.

Added:
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/package-info.java   (with props)
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap12/package-info.java   (with props)
Modified:
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/ActorBearing.java
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/EncodingStyleBearing.java
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/Envelope.java
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/Fault.java
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/MustUnderstandBearing.java
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/package.html
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap12/EncodingStyleBearing.java
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap12/MustUnderstandBearing.java
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap12/RelayBearing.java
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap12/RoleBearing.java
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/util/SOAPHelper.java

Modified: trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/ActorBearing.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/ActorBearing.java?rev=3146&r1=3145&r2=3146&view=diff
==============================================================================
--- trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/ActorBearing.java (original)
+++ trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/ActorBearing.java Tue Jan 15 00:22:29 2013
@@ -17,6 +17,7 @@
 
 package org.opensaml.soap.soap11;
 
+import javax.annotation.Nullable;
 import javax.xml.namespace.QName;
 
 import org.opensaml.soap.util.SOAPConstants;
@@ -41,13 +42,13 @@
      * 
      * @return return the attribute vlue
      */
-    public String getSOAP11Actor();
+    @Nullable public String getSOAP11Actor();
     
     /**
      * Set the attribute value.
      * 
      * @param newActor the new attribute value
      */
-    public void setSOAP11Actor(String newActor);
+    public void setSOAP11Actor(@Nullable final String newActor);
 
-}
+}

Modified: trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/EncodingStyleBearing.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/EncodingStyleBearing.java?rev=3146&r1=3145&r2=3146&view=diff
==============================================================================
--- trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/EncodingStyleBearing.java (original)
+++ trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/EncodingStyleBearing.java Tue Jan 15 00:22:29 2013
@@ -19,6 +19,7 @@
 
 import java.util.List;
 
+import javax.annotation.Nullable;
 import javax.xml.namespace.QName;
 
 import org.opensaml.soap.util.SOAPConstants;
@@ -40,13 +41,13 @@
      * 
      * @return return the list of attribute values
      */
-    public List<String> getSOAP11EncodingStyles();
+    @Nullable public List<String> getSOAP11EncodingStyles();
     
     /**
      * Set the attribute value.
      * 
      * @param newEncodingStyles the new list of attribute values
      */
-    public void setSOAP11EncodingStyles(List<String> newEncodingStyles);
+    public void setSOAP11EncodingStyles(@Nullable final List<String> newEncodingStyles);
 
-}
+}

Modified: trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/Envelope.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/Envelope.java?rev=3146&r1=3145&r2=3146&view=diff
==============================================================================
--- trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/Envelope.java (original)
+++ trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/soap11/Envelope.java Tue Jan 15 00:22:29 2013
@@ -17,6 +17,7 @@
 
 package org.opensaml.soap.soap11;
 
+import javax.annotation.Nullable;
 import javax.xml.namespace.QName;
 
 import org.opensaml.core.xml.AttributeExtensibleXMLObject;
@@ -48,26 +49,26 @@
      * 
      * @return the header of this envelope
      */
-    public Header getHeader();
+    @Nullable public Header getHeader();
     
     /**
      * Sets the header of this envelope.
      * 
      * @param newHeader the header of this envelope
      */
-    public void setHeader(Header newHeader);
+    public void setHeader(@Nullable final Header newHeader);
     
     /**
      * Gets the body of this envelope.
      * 
      * @return the body of this envelope
      */
-    public Body getBody();
+    @Nullable public Body getBody();
     
     /**
      * Sets the body of this envelope.
      * 
      * @param newBody the body of this envelope
      */

[... 318 lines stripped ...]


More information about the commits mailing list