cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/resources/FileAttribute.java
public boolean copyValue(FileAttribute destinationAttr) {
        if (Objects.isNull(destinationAttr)) {
            return false;
        }

        destinationAttr.setFileSize(fileSize);
        destinationAttr.setOwnerName(ownerName);
        destinationAttr.setUpdateTime(lastUpdateTime);
        destinationAttr.setRegistrationId(id);
        destinationAttr.setType(type);
        destinationAttr.setChecksum(checksum);
        destinationAttr.setCost(cost);
        destinationAttr.setMasterCopy(masterCopy);
        destinationAttr.setCreationTime(creationTime);

        return true;
    }
/**
     * Copy the values of the object into a given FileAttribute instance.
     *
     * @param destinationAttr the destination FileAttribute object to copy the
     * current object to
     * @return <tt>true</tt> if the copy operation is successful, <tt>false</tt>
     * otherwise
     */
Copy the values of the object into a given FileAttribute instance.
@param destinationAttr the destination FileAttribute object to copy the
current object to
@return true if the copy operation is successful, false
otherwise
Copy the values of the object into a given FileAttribute instance . @param destinationAttr the destination FileAttribute object to copy the current object to @return true if the copy operation is successful false otherwise
public boolean copyValue(FileAttribute destinationAttr) {
        if (Objects.isNull(destinationAttr)) {
            return false;
        }
        destinationAttr.setFileSize(fileSize);
        destinationAttr.setOwnerName(ownerName);
        destinationAttr.setUpdateTime(lastUpdateTime);
        destinationAttr.setRegistrationId(id);
        destinationAttr.setType(type);
        destinationAttr.setChecksum(checksum);
        destinationAttr.setCost(cost);
        destinationAttr.setMasterCopy(masterCopy);
        destinationAttr.setCreationTime(creationTime);
        return true;
    }
public boolean copyValue ( FileAttribute destinationAttr ) { if ( Objects . isNull ( destinationAttr ) ) { return false ; } destinationAttr . setFileSize ( fileSize ) ; destinationAttr . setOwnerName ( ownerName ) ; destinationAttr . setUpdateTime ( lastUpdateTime ) ; destinationAttr . setRegistrationId ( id ) ; destinationAttr . setType ( type ) ; destinationAttr . setChecksum ( checksum ) ; destinationAttr . setCost ( cost ) ; destinationAttr . setMasterCopy ( masterCopy ) ; destinationAttr . setCreationTime ( creationTime ) ; return true ; }
Copy the values of the object into a given FileAttribute instance.
Copy the values of the object into a given FileAttribute instance .