
com.thesett.catalogue.model.ExternallyIdentified Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of catalogue-model Show documentation
Show all versions of catalogue-model Show documentation
A catalogue which is confugurable at the knowledge level to catalogue and organise any type of data and to provide structured access to it, free text querying of it and automatic data warehousing of events relating to it.
/*
* Copyright The Sett Ltd, 2005 to 2014.
*
* 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.thesett.catalogue.model;
/**
* Some entities may also provide an external id, which serves to uniquely identify the entity over a much larger
* realm and for a much longer time than the entities storage key.
*
*
CRC Card
* Responsibilities
* Provide a long lived external key to uniquely identify an entity.
*
*
* @author Rupert Smith
*/
public interface ExternallyIdentified
{
/**
* Gets the external id of the element.
*
* @return The external id of the element.
*/
ExternalId getExternalId();
/**
* Sets the external id of the element.
*
* @param id The external id of the element.
*/
void setExternalId(ExternalId id);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy