|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vinculumtech.platform.docmodel.Node com.vinculumtech.carrierwave.docmodel.ImageNode
Field Summary | |
static java.lang.String |
METADATA_DEPENDENT
|
static java.lang.String |
METADATA_LITERAL
|
static java.lang.String |
METADATA_READONLY
|
Fields inherited from class com.vinculumtech.platform.docmodel.Node |
EMPTY_LIST, METADATA_DECLARED_TYPE |
Constructor Summary | |
ImageNode(DocumentModel documentModel,
java.lang.Object value)
|
Method Summary | |
protected java.util.List |
createLocalPaths()
Returns an Unmodifiable List of paths to local children values. |
protected java.util.List |
createLocalPathsInternal()
|
java.lang.Object |
getDefaultValueAtLocal(java.lang.String path)
|
protected boolean[] |
getDependentEdges()
|
protected java.lang.String[] |
getEdges()
|
protected java.lang.Class |
getEdgeType(java.lang.String path)
|
protected java.lang.String[] |
getLiterals()
|
protected java.lang.Class |
getLiteralType(java.lang.String path)
|
protected java.lang.Object |
getMetaDataAtLocalInternal(java.lang.String path,
java.lang.String identifier,
boolean delegatedByChildCollection)
Should be overriden by subclass |
protected boolean[] |
getReadOnlyEdges()
|
protected boolean[] |
getReadOnlyLiterals()
|
protected java.lang.Object |
getValueAtLocalInternal(java.lang.String path)
Should be overriden by subclass |
boolean |
isChildrenAsIcons()
|
boolean |
isDependent()
|
protected boolean |
isDependent(java.lang.String path)
Returns true if the localPath represents a literal value or if the Image type is dependent. |
protected boolean |
isIcon()
|
boolean |
isIgnoreReadOnly()
|
protected boolean |
isLiteral(java.lang.String path)
Returns true if the localPath represents a literal value |
protected boolean |
isReadOnly(java.lang.String path)
|
void |
setChildrenAsIcons(boolean childrenAsIcons)
Tells the node to only return Icons as values for non-dependent children types. |
void |
setIgnoreReadOnly(boolean ignoreReadOnly)
|
protected java.lang.Object |
setValueAtLocalInternal(java.lang.String path,
java.lang.Object value)
Should be overriden by subclass |
Methods inherited from class com.vinculumtech.platform.docmodel.Node |
addNodeListener, applyPathMap, createLocalPathMap, getDeclaredFieldType, getDefaultNodeValue, getDocumentModel, getLocalPathMap, getLocalPaths, getMetaDataAt, getMetaDataAtLocal, getNodeListeners, getNodeValue, getPathMap, getPathMap, getPathMap, getValueAt, getValueAt, getValueAtLocal, hasNodeListener, hasNodeListeners, isCollectionNode, isDeleted, isFindMetaDataInCollectionParent, makeCoercedValue, makePath, markDeleted, removeNodeListener, setDocumentModel, setFindMetaDataInCollectionParent, setIsDeleted, setLocalPaths, setNodeValue, setValueAt, setValueAtLocal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String METADATA_READONLY
public static final java.lang.String METADATA_DEPENDENT
public static final java.lang.String METADATA_LITERAL
Constructor Detail |
public ImageNode(DocumentModel documentModel, java.lang.Object value)
Method Detail |
protected boolean isIcon()
public boolean isIgnoreReadOnly()
public void setIgnoreReadOnly(boolean ignoreReadOnly)
public boolean isChildrenAsIcons()
public void setChildrenAsIcons(boolean childrenAsIcons)
public boolean isDependent()
isDependent
in class Node
protected java.lang.Object getValueAtLocalInternal(java.lang.String path)
Node
getValueAtLocalInternal
in class Node
public java.lang.Object getDefaultValueAtLocal(java.lang.String path)
getDefaultValueAtLocal
in class Node
protected java.lang.Object getMetaDataAtLocalInternal(java.lang.String path, java.lang.String identifier, boolean delegatedByChildCollection)
Node
getMetaDataAtLocalInternal
in class Node
protected java.lang.Object setValueAtLocalInternal(java.lang.String path, java.lang.Object value)
Node
setValueAtLocalInternal
in class Node
protected java.util.List createLocalPaths()
Node
createLocalPaths
in class Node
protected java.util.List createLocalPathsInternal()
protected boolean isLiteral(java.lang.String path)
protected boolean isDependent(java.lang.String path)
protected boolean isReadOnly(java.lang.String path)
protected java.lang.Class getEdgeType(java.lang.String path)
protected java.lang.Class getLiteralType(java.lang.String path)
protected java.lang.String[] getLiterals()
protected boolean[] getReadOnlyLiterals()
protected java.lang.String[] getEdges()
protected boolean[] getReadOnlyEdges()
protected boolean[] getDependentEdges()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |