public class BaseReferenceable extends BaseNameable implements IReferenceable
| Modifier and Type | Field and Description |
|---|---|
protected String |
parentId |
protected int |
refCount |
id, isTranslatable, mimeType, name, preserveWS, typeCOPY_ALL, COPY_CONTENT, COPY_PROPERTIES, COPY_SEGMENTATION, COPY_SEGMENTED_CONTENT, CREATE_EMPTY| Constructor and Description |
|---|
BaseReferenceable() |
| Modifier and Type | Method and Description |
|---|---|
String |
getParentId()
Gets the identifier of the parent resource of this resource.
|
int |
getReferenceCount()
Gets the number of time this referent is referenced to.
|
boolean |
isReferent()
Indicates if this resource is a referent (i.e.
|
void |
setIsReferent(boolean value)
Sets the flag indicating if this resource is a referent (i.e.
|
void |
setParentId(String id)
Sets the identifier of the parent resource of this resource.
|
void |
setReferenceCount(int value)
Sets the number of time this referent is referenced to.
|
getAnnotations, getId, getMimeType, getName, getProperties, getSkeleton, getType, isTranslatable, preserveWhitespaces, setId, setIsTranslatable, setMimeType, setName, setPreserveWhitespaces, setSkeleton, setType, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopy, getProperty, getPropertyNames, hasProperty, propertyIterator, removeProperty, setPropertyannotationIterator, clear, copy, getAnnotation, getAnnotationsTypesAsSet, hasAnnotation, hasAnnotations, remove, setAnnotationprotected int refCount
protected String parentId
public boolean isReferent()
IReferenceableisReferent in interface IReferenceablepublic void setIsReferent(boolean value)
IReferenceablesetIsReferent in interface IReferenceablevalue - true if the resource is a referent, false if it is not.public int getReferenceCount()
IReferenceablegetReferenceCount in interface IReferenceablepublic void setReferenceCount(int value)
IReferenceablesetReferenceCount in interface IReferenceablevalue - the number of time this referent is referenced to.public String getParentId()
public void setParentId(String id)
id - the identifier to set.Copyright © 2021. All rights reserved.