public String getTerminationTime() throws WSNotificationException { return this.model.getTerminationTime(); }
public void toString(ToStringBuilder toStringBuilder) { { String theTerminationTime; theTerminationTime = this.getTerminationTime(); toStringBuilder.append("terminationTime", theTerminationTime); } { List<Object> theAny; theAny = this.getAny(); toStringBuilder.append("any", theAny); } }
public void hashCode(HashCodeBuilder hashCodeBuilder) { hashCodeBuilder.append(this.getTerminationTime()); hashCodeBuilder.append(this.getAny()); }
@Override public final Object getTerminationTime() { Object termTime = null; String jaxbTermTime = this.jaxbTypeObj.getTerminationTime(); if (jaxbTermTime != null && jaxbTermTime.length() >0){ try { if (jaxbTermTime.startsWith("P")){ termTime = DatatypeFactory.newInstance().newDuration(jaxbTermTime); } else if(jaxbTermTime.contains("T")){ termTime = DatatypeFactory.newInstance().newXMLGregorianCalendar(jaxbTermTime).toGregorianCalendar().getTime(); } } catch (DatatypeConfigurationException e) { RenewImpl.logger.log(Level.WARNING,"The \"InitalTerminaionTime\" field " + "value of the \"Subsrcibe\" payload does correspond to a string representation" + "of a \"Duration\" xml type nor \"DateTime\" xml type (received : " + jaxbTermTime+ ") \n",e); } } return termTime; }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof Renew)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final Renew that = ((Renew) object); equalsBuilder.append(this.getTerminationTime(), that.getTerminationTime()); equalsBuilder.append(this.getAny(), that.getAny()); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final Renew copy = ((target == null)?new Renew():((Renew) target)); { String sourceTerminationTime; sourceTerminationTime = this.getTerminationTime(); String copyTerminationTime = ((String) copyBuilder.copy(sourceTerminationTime)); copy.setTerminationTime(copyTerminationTime); } { List<Object> sourceAny; sourceAny = this.getAny(); List<Object> copyAny = ((List<Object> ) copyBuilder.copy(sourceAny)); copy.any = null; List<Object> uniqueAnyl = copy.getAny(); uniqueAnyl.addAll(copyAny); } return copy; }