Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package oasis.names.tc.ebxml_regrep.xsd.rim._3;
  
Mapping of the same named interface in ebRIM.

Java class for PersonNameType complex type.

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

 <complexType name="PersonNameType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="firstName" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ShortName" />
       <attribute name="middleName" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ShortName" />
       <attribute name="lastName" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ShortName" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "PersonNameType")
 public class PersonNameType {
 
     @XmlAttribute
     protected String firstName;
     @XmlAttribute
     protected String middleName;
     @XmlAttribute
     protected String lastName;

    
Gets the value of the firstName property.

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

    
Sets the value of the firstName property.

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

    
Gets the value of the middleName property.

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

    
Sets the value of the middleName property.

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

    
Gets the value of the lastName property.

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

    
Sets the value of the lastName property.

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