package org.jboss.examples.creditagency;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for CreditRatingType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="CreditRatingType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="rating" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlRootElement(name="CreditRating")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CreditRatingType")
public class CreditRatingType {
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "rating")
protected BigInteger rating;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the rating property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getRating() {
return rating;
}
/**
* Sets the value of the rating property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setRating(BigInteger value) {
this.rating = value;
}
}