public FieldBaseMD(FieldBaseMD arg) //throws com.WDataSci.WDS.WDSException, Exception { this.Name = new_String(arg.Name); this.DTyp = arg.DTyp; this.StringMaxLength = arg.StringMaxLength; this.ByteMaxLength = arg.ByteMaxLength; if (arg.HDF5DataType != null) { this.HDF5DataType = new WranglerHDF5().new_HDF5DataType(arg); } }
public void Copy(FieldBaseMD arg) //throws com.WDataSci.WDS.WDSException, Exception { this.Name = new_String(arg.Name); this.DTyp = arg.DTyp; this.StringMaxLength = arg.StringMaxLength; this.ByteMaxLength = arg.ByteMaxLength; this.ByteMemLength = arg.ByteMemLength; this.ByteMemOffset = arg.ByteMemOffset; this.Format = new_String(arg.Format); if (arg.HDF5DataType == null) { this.HDF5DataType = null; } else { this.HDF5DataType = new WranglerHDF5().new_HDF5DataType(arg); } }
public Boolean Equals(FieldBaseMD arg) { if (!com.WDataSci.WDS.Util.MatchingNullityAndValueEquals(this.Name, arg.Name)) { return(false); } if (!this.DTyp.equals(arg.DTyp)) { return(false); } if (this.StringMaxLength != arg.StringMaxLength) { return(false); } if (this.ByteMaxLength != arg.ByteMaxLength) { return(false); } if (!com.WDataSci.WDS.Util.MatchingNullityAndValueEquals(this.Format, arg.Format)) { return(false); } //if ( !Util.MatchingNullity(this.MapKey, arg.MapKey) ) return false; //if ( this.MapKey != null && !this.MapKey.getValue().equals(arg.MapKey.getValue()) ) //return false; if (!com.WDataSci.WDS.Util.MatchingNullity(this.HDF5DataType, arg.HDF5DataType)) { return(false); } if (this.HDF5DataType != null && !this.HDF5DataType.Equals(arg.HDF5DataType)) { return(false); } return(true); }