public class BaseReferenceable extends BaseNameable implements IReferenceable
| Modifier and Type | Field and Description |
|---|---|
protected String |
parentId |
protected int |
refCount |
annotations, id, isTranslatable, mimeType, name, preserveWS, properties, skeleton, sourceProperties, 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.
|
createTargetProperty, getAnnotation, getAnnotations, getId, getMimeType, getName, getProperties, getProperty, getPropertyNames, getSkeleton, getSourceProperties, getSourceProperty, getSourcePropertyNames, getTargetLocales, getTargetProperty, getTargetPropertyNames, getType, hasProperty, hasSourceProperty, hasTargetProperty, isTranslatable, preserveWhitespaces, removeProperty, removeSourceProperty, removeTargetProperty, setAnnotation, setId, setIsTranslatable, setMimeType, setName, setPreserveWhitespaces, setProperties, setProperty, setSkeleton, setSourceProperties, setSourceProperty, setTargetProperty, setType, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopycopycopyprotected 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.