/** @see com.bloatit.model.Milestone#getOffer() */ @XmlElement @XmlIDREF public RestOffer getOffer() { final RestOffer offer = new RestOffer(model.getOffer()); if (offer.isNull()) { return null; } return offer; }
/** @see com.bloatit.model.Milestone#getReleases() */ @XmlElement public RestReleaseList getReleases() { return new RestReleaseList(model.getReleases()); }
/** @see com.bloatit.model.Milestone#getMilestoneState() */ @XmlElement public MilestoneState getMilestoneState() { return model.getMilestoneState(); }
/** @see com.bloatit.model.Milestone#getPosition() */ @XmlElement public int getPosition() { return model.getPosition(); }
/** @see com.bloatit.model.Milestone#getDescription() */ @XmlElement public String getDescription() { return model.getDescription(); }
/** @see com.bloatit.model.Milestone#getTitle() */ @XmlElement public String getTitle() { return model.getTitle(); }
/** @see com.bloatit.model.Milestone#getAmount() */ @XmlAttribute public BigDecimal getAmount() { return model.getAmount(); }
/** @see com.bloatit.model.Milestone#getExpirationDate() */ @XmlAttribute @XmlJavaTypeAdapter(DateAdapter.class) public Date getExpirationDate() { return model.getExpirationDate(); }
/** @see com.bloatit.model.Milestone#getMinorBugsPercent() */ @XmlElement public int getMinorBugsPercent() { return model.getMinorBugsPercent(); }
/** @see com.bloatit.model.Milestone#getFatalBugsPercent() */ @XmlElement public int getFatalBugsPercent() { return model.getFatalBugsPercent(); }
/** @see com.bloatit.model.Milestone#getReleaseDate() */ @XmlAttribute @XmlJavaTypeAdapter(DateAdapter.class) public Date getReleaseDate() { return model.getReleaseDate(); }
@XmlAttribute @XmlID public String getId() { return model.getId().toString(); }