public class SimpleAssetNode extends Object implements AssetNode
| Modifier and Type | Method and Description |
|---|---|
com.fatwire.assetapi.data.AssetId |
asAssetId(String name) |
com.fatwire.assetapi.data.BlobObject |
asBlob(String name) |
com.fatwire.assetapi.data.BlobObject.BlobAddress |
asBlobAddress(String name) |
Date |
asDate(String name) |
Double |
asDouble(String name) |
Float |
asFloat(String name) |
Integer |
asInt(String name) |
List<?> |
asList(String name) |
Long |
asLong(String name) |
String |
asString(String name) |
boolean |
equals(Object o) |
com.fatwire.assetapi.data.AssetData |
getAssetData() |
com.fatwire.assetapi.def.AssetTypeDef |
getAssetTypeDef() |
com.fatwire.assetapi.data.AssetId |
getAssociatedAsset(String name) |
List<com.fatwire.assetapi.data.AssetId> |
getAssociatedAssets(String name) |
Object |
getAttribute(String name) |
com.fatwire.assetapi.data.AttributeData |
getAttributeData(String name,
boolean meta) |
List<String> |
getAttributeNames() |
com.fatwire.assetapi.def.AttributeTypeEnum |
getAttributeType(String name) |
List<AssetNode> |
getChildren()
Return this node's children, if any, in ranked order
|
com.fatwire.assetapi.data.AssetId |
getId() |
List<com.fatwire.assetapi.data.AssetId> |
getImmediateParents(String name) |
com.fatwire.mda.Dimension |
getLocale() |
Object |
getMetaAttribute(String name) |
List<String> |
getMetaAttributeNames() |
SimpleAssetNode |
getParent()
Get the parent node
|
List<com.fatwire.assetapi.data.AssetId> |
getParents() |
List<AssetNode> |
getSiblings()
Get the siblings of this node.
|
String |
getSubtype() |
int |
hashCode() |
boolean |
isAttribute(String name) |
boolean |
isSingleValued(String name) |
String |
toString() |
public SimpleAssetNode getParent()
Nodepublic List<AssetNode> getSiblings()
NodegetSiblings in interface Node<AssetNode>public List<AssetNode> getChildren()
NodegetChildren in interface Node<AssetNode>public com.fatwire.assetapi.data.AssetId asAssetId(String name)
public com.fatwire.assetapi.data.BlobObject asBlob(String name)
public com.fatwire.assetapi.data.BlobObject.BlobAddress asBlobAddress(String name)
asBlobAddress in interface AssetNodepublic com.fatwire.assetapi.def.AssetTypeDef getAssetTypeDef()
getAssetTypeDef in interface AssetNodepublic com.fatwire.assetapi.data.AssetId getAssociatedAsset(String name)
getAssociatedAsset in interface AssetNodepublic List<com.fatwire.assetapi.data.AssetId> getAssociatedAssets(String name)
getAssociatedAssets in interface AssetNodepublic Object getAttribute(String name)
getAttribute in interface AssetNodepublic com.fatwire.assetapi.data.AssetData getAssetData()
getAssetData in interface AssetNodepublic com.fatwire.assetapi.data.AttributeData getAttributeData(String name, boolean meta)
getAttributeData in interface AssetNodepublic List<String> getAttributeNames()
getAttributeNames in interface AssetNodepublic List<com.fatwire.assetapi.data.AssetId> getImmediateParents(String name) throws com.fatwire.assetapi.common.AssetAccessException
getImmediateParents in interface AssetNodecom.fatwire.assetapi.common.AssetAccessExceptionpublic com.fatwire.mda.Dimension getLocale()
public Object getMetaAttribute(String name)
getMetaAttribute in interface AssetNodepublic List<String> getMetaAttributeNames()
getMetaAttributeNames in interface AssetNodepublic List<com.fatwire.assetapi.data.AssetId> getParents() throws com.fatwire.assetapi.common.AssetAccessException
getParents in interface AssetNodecom.fatwire.assetapi.common.AssetAccessExceptionpublic String getSubtype()
getSubtype in interface AssetNodepublic com.fatwire.assetapi.def.AttributeTypeEnum getAttributeType(String name)
getAttributeType in interface AssetNodepublic boolean isAttribute(String name)
isAttribute in interface AssetNodepublic boolean isSingleValued(String name)
isSingleValued in interface AssetNodeCopyright © 2010–2016. All rights reserved.