public class MetaDataIdentifier extends MetaDataCacheKey implements ObjectSizeProvider, Serializable
Constructor and Description |
---|
MetaDataIdentifier(int namespaceId,
int publicationId,
String relativePath)
Constructor.
|
MetaDataIdentifier(int namespaceId,
int publicationId,
String relativePath,
MetaDataType metaDataType,
Serializable cacheKey)
Constructor.
|
MetaDataIdentifier(int publicationId,
String relativePath)
Constructor.
|
MetaDataIdentifier(int publicationId,
String relativePath,
MetaDataType metaDataType,
Serializable cacheKey)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MetaDataIdentifier |
getMetaDataIdentifier() |
int |
getNamespaceId() |
int |
getObjectSize()
Estimates the size in bytes of this object and the objects that it owns.
|
int |
getPublicationId() |
String |
getRelativePath() |
getCacheKey, getMetaDataType
public MetaDataIdentifier(int publicationId, String relativePath)
publicationId
- publication id.relativePath
- Relative path of meta data.public MetaDataIdentifier(int namespaceId, int publicationId, String relativePath)
namespaceId
- namespace id.publicationId
- publication id.relativePath
- Relative path of meta data.public MetaDataIdentifier(int publicationId, String relativePath, MetaDataType metaDataType, Serializable cacheKey)
publicationId
- publication id.relativePath
- relative path of meta data.metaDataType
- meta data type.cacheKey
- key under which is object cached.public MetaDataIdentifier(int namespaceId, int publicationId, String relativePath, MetaDataType metaDataType, Serializable cacheKey)
namespaceId
- namespace id.publicationId
- publication id.relativePath
- relative path of meta data.metaDataType
- meta data type.cacheKey
- key under which is object cached.public int getNamespaceId()
public int getPublicationId()
public String getRelativePath()
public int getObjectSize()
ObjectSizeProvider
getObjectSize
in interface ObjectSizeProvider
public MetaDataIdentifier getMetaDataIdentifier()
getMetaDataIdentifier
in class MetaDataCacheKey
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries