All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.node.app.statedumpers.legacy.HFileMeta Maven / Gradle / Ivy

There is a newer version: 0.57.3
Show newest version
/*
 * Copyright (C) 2020-2024 Hedera Hashgraph, LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.hedera.node.app.statedumpers.legacy;

public class HFileMeta {
    private JKey wacl;
    private long expiry;
    private String memo = "";
    private boolean deleted;

    public HFileMeta(boolean deleted, JKey wacl, long expiry) {
        this.deleted = deleted;
        this.wacl = wacl;
        this.expiry = expiry;
    }

    public HFileMeta(boolean deleted, JKey wacl, long expiry, String memo) {
        this.wacl = wacl;
        this.memo = memo;
        this.deleted = deleted;
        this.expiry = expiry;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public JKey getWacl() {
        return wacl;
    }

    public void setWacl(JKey wacl) {
        this.wacl = wacl;
    }

    public long getExpiry() {
        return expiry;
    }

    public void setExpiry(long expiry) {
        this.expiry = expiry;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy