/** * Create an instance of {@link TPartnerLink } * */ public TPartnerLink createTPartnerLink() { return new TPartnerLink(); }
public Boolean getInitializePartnerRole() { Boolean res = null; if(this.model.getInitializePartnerRole() != null) { res = Boolean.valueOf(this.model.getInitializePartnerRole().value); } return res; }
public String getMyRole() { return this.model.getMyRole(); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TPartnerLink copy = ((target == null)?((TPartnerLink) createCopy()):((TPartnerLink) target)); super.copyTo(copy, copyBuilder); sourceName = this.getName(); String copyName = ((String) copyBuilder.copy(sourceName)); copy.setName(copyName); sourcePartnerLinkType = this.getPartnerLinkType(); QName copyPartnerLinkType = ((QName) copyBuilder.copy(sourcePartnerLinkType)); copy.setPartnerLinkType(copyPartnerLinkType); sourceMyRole = this.getMyRole(); String copyMyRole = ((String) copyBuilder.copy(sourceMyRole)); copy.setMyRole(copyMyRole); sourcePartnerRole = this.getPartnerRole(); String copyPartnerRole = ((String) copyBuilder.copy(sourcePartnerRole)); copy.setPartnerRole(copyPartnerRole); sourceInitializePartnerRole = this.getInitializePartnerRole(); TBoolean copyInitializePartnerRole = ((TBoolean) copyBuilder.copy(sourceInitializePartnerRole)); copy.setInitializePartnerRole(copyInitializePartnerRole);
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getName()); hashCodeBuilder.append(this.getPartnerLinkType()); hashCodeBuilder.append(this.getMyRole()); hashCodeBuilder.append(this.getPartnerRole()); hashCodeBuilder.append(this.getInitializePartnerRole()); }
public String getName() { String res = null; if(this.model != null){ res = this.model.getName(); } return res; }
public void setPartnerLinkType(final QName value) { this.model.setPartnerLinkType(value); }
public QName getPartnerLinkType() { return this.model.getPartnerLinkType(); }
public void setMyRole(final String value) { this.model.setMyRole(value); }
public void setName(final String value) { this.model.setName(value); }
public String getPartnerRole() { return this.model.getPartnerRole(); }
public void setInitializePartnerRole(final Boolean value) { if(value == null) { this.model.setInitializePartnerRole(null); } else if(value.booleanValue() == true) { this.model.setInitializePartnerRole(TBoolean.YES); } else { this.model.setInitializePartnerRole(TBoolean.NO); } }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TPartnerLink copy = ((target == null)?((TPartnerLink) createCopy()):((TPartnerLink) target)); super.copyTo(copy, copyBuilder); sourceName = this.getName(); String copyName = ((String) copyBuilder.copy(sourceName)); copy.setName(copyName); sourcePartnerLinkType = this.getPartnerLinkType(); QName copyPartnerLinkType = ((QName) copyBuilder.copy(sourcePartnerLinkType)); copy.setPartnerLinkType(copyPartnerLinkType); sourceMyRole = this.getMyRole(); String copyMyRole = ((String) copyBuilder.copy(sourceMyRole)); copy.setMyRole(copyMyRole); sourcePartnerRole = this.getPartnerRole(); String copyPartnerRole = ((String) copyBuilder.copy(sourcePartnerRole)); copy.setPartnerRole(copyPartnerRole); sourceInitializePartnerRole = this.getInitializePartnerRole(); TBoolean copyInitializePartnerRole = ((TBoolean) copyBuilder.copy(sourceInitializePartnerRole)); copy.setInitializePartnerRole(copyInitializePartnerRole);
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getName()); hashCodeBuilder.append(this.getPartnerLinkType()); hashCodeBuilder.append(this.getMyRole()); hashCodeBuilder.append(this.getPartnerRole()); hashCodeBuilder.append(this.getInitializePartnerRole()); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TPartnerLink)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TPartnerLink that = ((TPartnerLink) object); equalsBuilder.append(this.getName(), that.getName()); equalsBuilder.append(this.getPartnerLinkType(), that.getPartnerLinkType()); equalsBuilder.append(this.getMyRole(), that.getMyRole()); equalsBuilder.append(this.getPartnerRole(), that.getPartnerRole()); equalsBuilder.append(this.getInitializePartnerRole(), that.getInitializePartnerRole()); }
/** * Create an instance of {@link TPartnerLink } * */ public TPartnerLink createTPartnerLink() { return new TPartnerLink(); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TPartnerLink)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TPartnerLink that = ((TPartnerLink) object); equalsBuilder.append(this.getName(), that.getName()); equalsBuilder.append(this.getPartnerLinkType(), that.getPartnerLinkType()); equalsBuilder.append(this.getMyRole(), that.getMyRole()); equalsBuilder.append(this.getPartnerRole(), that.getPartnerRole()); equalsBuilder.append(this.getInitializePartnerRole(), that.getInitializePartnerRole()); }
public Object createCopy() { return new TPartnerLink(); }
public void toString(ToStringBuilder toStringBuilder) { super.toString(toStringBuilder); { String theName; theName = this.getName(); toStringBuilder.append("name", theName); } { QName thePartnerLinkType; thePartnerLinkType = this.getPartnerLinkType(); toStringBuilder.append("partnerLinkType", thePartnerLinkType); } { String theMyRole; theMyRole = this.getMyRole(); toStringBuilder.append("myRole", theMyRole); } { String thePartnerRole; thePartnerRole = this.getPartnerRole(); toStringBuilder.append("partnerRole", thePartnerRole); } { TBoolean theInitializePartnerRole; theInitializePartnerRole = this.getInitializePartnerRole(); toStringBuilder.append("initializePartnerRole", theInitializePartnerRole); } }