Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package oasis.names.tc.ebxml_regrep.xsd.rs._3;
  

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attribute name="codeContext" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="errorCode" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="severity" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}referenceURI" default="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error" />
       <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </simpleContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "value"
 })
 @XmlRootElement(name = "RegistryError")
 public class RegistryError {
 
     @XmlValue
     protected String value;
     @XmlAttribute(required = true)
     protected String codeContext;
     @XmlAttribute(required = true)
     protected String errorCode;
     @XmlAttribute
     protected String severity;
     @XmlAttribute
     protected String location;

    
Gets the value of the value property.

Returns:
possible object is
 
     public String getValue() {
         return ;
     }

    
Sets the value of the value property.

Parameters:
value allowed object is
 
     public void setValue(String value) {
         this. = value;
     }

    
Gets the value of the codeContext property.

Returns:
possible object is
 
     public String getCodeContext() {
         return ;
     }

    
Sets the value of the codeContext property.

Parameters:
value allowed object is
 
     public void setCodeContext(String value) {
         this. = value;
     }

    
Gets the value of the errorCode property.

Returns:
possible object is
    public String getErrorCode() {
        return ;
    }

    
Sets the value of the errorCode property.

Parameters:
value allowed object is
    public void setErrorCode(String value) {
        this. = value;
    }

    
Gets the value of the severity property.

Returns:
possible object is
    public String getSeverity() {
        if ( == null) {
            return "urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error";
        } else {
            return ;
        }
    }

    
Sets the value of the severity property.

Parameters:
value allowed object is
    public void setSeverity(String value) {
        this. = value;
    }

    
Gets the value of the location property.

Returns:
possible object is
    public String getLocation() {
        return ;
    }

    
Sets the value of the location property.

Parameters:
value allowed object is
    public void setLocation(String value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X