public static <_B> PartitionScheduleT.Builder<_B> copyOf( final PartitionScheduleT _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final PartitionScheduleT.Builder<_B> _newBuilder = new PartitionScheduleT.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; }
@Override public PartitionScheduleT createCopy() { final PartitionScheduleT _newObject; try { _newObject = ((PartitionScheduleT) super.clone()); } catch (CloneNotSupportedException e) { throw new RuntimeException(e); } _newObject.value = this.value; _newObject.description = this.description; _newObject.name = this.name; _newObject.timeBudgetUs = this.timeBudgetUs; _newObject.timePeriodUs = this.timePeriodUs; return _newObject; }
@Override public PartitionScheduleT createCopy( final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final PartitionScheduleT _newObject; try { _newObject = ((PartitionScheduleT) super.clone()); } catch (CloneNotSupportedException e) { throw new RuntimeException(e); } final PropertyTree valuePropertyTree = ((_propertyTree == null) ? null : _propertyTree.get("value")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE) ? (valuePropertyTree != null) : ((valuePropertyTree == null) || (!valuePropertyTree.isLeaf())))) { _newObject.value = this.value; } final PropertyTree descriptionPropertyTree = ((_propertyTree == null) ? null : _propertyTree.get("description")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE) ? (descriptionPropertyTree != null) : ((descriptionPropertyTree == null) || (!descriptionPropertyTree.isLeaf())))) { _newObject.description = this.description; } final PropertyTree namePropertyTree = ((_propertyTree == null) ? null : _propertyTree.get("name")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE) ? (namePropertyTree != null) : ((namePropertyTree == null) || (!namePropertyTree.isLeaf())))) { _newObject.name = this.name; } final PropertyTree timeBudgetUsPropertyTree = ((_propertyTree == null) ? null : _propertyTree.get("timeBudgetUs")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE) ? (timeBudgetUsPropertyTree != null) : ((timeBudgetUsPropertyTree == null) || (!timeBudgetUsPropertyTree.isLeaf())))) { _newObject.timeBudgetUs = this.timeBudgetUs; } final PropertyTree timePeriodUsPropertyTree = ((_propertyTree == null) ? null : _propertyTree.get("timePeriodUs")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE) ? (timePeriodUsPropertyTree != null) : ((timePeriodUsPropertyTree == null) || (!timePeriodUsPropertyTree.isLeaf())))) { _newObject.timePeriodUs = this.timePeriodUs; } return _newObject; }
public static <_B> PartitionScheduleT.Builder<_B> copyOf(final PartitionScheduleT _other) { final PartitionScheduleT.Builder<_B> _newBuilder = new PartitionScheduleT.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; }