io.continual.services.model.core.ModelObjectMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of continualModel Show documentation
Show all versions of continualModel Show documentation
Continual's modeling library.
The newest version!
/*
* Copyright 2019, Continual.io
*
* 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 io.continual.services.model.core;
import java.util.Set;
import io.continual.iam.access.AccessControlList;
import io.continual.util.data.json.JsonSerialized;
/**
* Model object metadata contains information about the object.
*/
public interface ModelObjectMetadata extends JsonSerialized
{
/**
* Get the ACL for this object
* @return an ACL
*/
AccessControlList getAccessControlList ( );
/**
* Get the set of locked type names for this object
* @return a set of 0 or more type names
*/
Set getLockedTypes ();
/**
* Get the creation timestamp
* @return a timestamp as epoch ms
*/
long getCreateTimeMs ();
/**
* Get the last update timestamp
* @return a timestamp as epoch ms
*/
long getLastUpdateTimeMs ();
}