/** * Create an instance of {@link TImport } * */ public TImport createTImport() { return new TImport(); }
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getNamespace()); hashCodeBuilder.append(this.getLocation()); hashCodeBuilder.append(this.getImportType()); }
public void setImportType(URI uri){ this.model.setImportType(uri.toString()); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TImport copy = ((target == null)?((TImport) createCopy()):((TImport) target)); super.copyTo(copy, copyBuilder); { String sourceNamespace; sourceNamespace = this.getNamespace(); String copyNamespace = ((String) copyBuilder.copy(sourceNamespace)); copy.setNamespace(copyNamespace); } { String sourceLocation; sourceLocation = this.getLocation(); String copyLocation = ((String) copyBuilder.copy(sourceLocation)); copy.setLocation(copyLocation); } { String sourceImportType; sourceImportType = this.getImportType(); String copyImportType = ((String) copyBuilder.copy(sourceImportType)); copy.setImportType(copyImportType); } return copy; }
public URI getLocation() { URI res = null; if(this.model.getLocation() != null) { res = URI.create(this.model.getLocation()); } return res; }
public URI getImportType() { URI res = null; if(this.model.getImportType() != null) { res = URI.create(this.model.getImportType()); } return res; }
public URI getNamespace() { URI res = null; if(this.model.getNamespace() != null) { res = URI.create(this.model.getNamespace()); } return res; }
public void setNamespace(URI uri){ this.model.setNamespace(uri.toString()); }
public void setLocation(URI uri){ this.model.setLocation(uri.toString()); }
public boolean equals(Object object) { if (!(object instanceof TImport)) { return false; } if (this == object) { return true; } final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder(); equals(object, equalsBuilder); return equalsBuilder.isEquals(); }
public Object copyTo(Object target) { final CopyBuilder copyBuilder = new JAXBCopyBuilder(); return copyTo(target, copyBuilder); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TImport copy = ((target == null)?((TImport) createCopy()):((TImport) target)); super.copyTo(copy, copyBuilder); { String sourceNamespace; sourceNamespace = this.getNamespace(); String copyNamespace = ((String) copyBuilder.copy(sourceNamespace)); copy.setNamespace(copyNamespace); } { String sourceLocation; sourceLocation = this.getLocation(); String copyLocation = ((String) copyBuilder.copy(sourceLocation)); copy.setLocation(copyLocation); } { String sourceImportType; sourceImportType = this.getImportType(); String copyImportType = ((String) copyBuilder.copy(sourceImportType)); copy.setImportType(copyImportType); } return copy; }
public boolean equals(Object object) { if (!(object instanceof TImport)) { return false; } if (this == object) { return true; } final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder(); equals(object, equalsBuilder); return equalsBuilder.isEquals(); }
public Object copyTo(Object target) { final CopyBuilder copyBuilder = new JAXBCopyBuilder(); return copyTo(target, copyBuilder); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TImport)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TImport that = ((TImport) object); equalsBuilder.append(this.getNamespace(), that.getNamespace()); equalsBuilder.append(this.getLocation(), that.getLocation()); equalsBuilder.append(this.getImportType(), that.getImportType()); }
/** * Create an instance of {@link TImport } * */ public TImport createTImport() { return new TImport(); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TImport)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TImport that = ((TImport) object); equalsBuilder.append(this.getNamespace(), that.getNamespace()); equalsBuilder.append(this.getLocation(), that.getLocation()); equalsBuilder.append(this.getImportType(), that.getImportType()); }
public Object createCopy() { return new TImport(); }
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getNamespace()); hashCodeBuilder.append(this.getLocation()); hashCodeBuilder.append(this.getImportType()); }
public Object createCopy() { return new TImport(); }