org.apache.isis.viewer.restfulobjects.domainobjects
Class AbstractDomainObjectRepresentation

java.lang.Object
  extended by org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation
      extended by org.apache.isis.viewer.restfulobjects.domainobjects.DomainRepresentation
          extended by org.apache.isis.viewer.restfulobjects.domainobjects.AbstractDomainObjectRepresentation
All Implemented Interfaces:
JsonRepresentation.HasExtensions, JsonRepresentation.HasLinks, JsonRepresentation.LinksToSelf
Direct Known Subclasses:
DomainObjectRepresentation, TransientDomainObjectRepresentation

public abstract class AbstractDomainObjectRepresentation
extends DomainRepresentation


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation
JsonRepresentation.HasExtensions, JsonRepresentation.HasLinks, JsonRepresentation.LinksToSelf
 
Field Summary
 
Fields inherited from class org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation
jsonNode
 
Constructor Summary
AbstractDomainObjectRepresentation(org.codehaus.jackson.JsonNode jsonNode)
           
 
Method Summary
 JsonRepresentation getCollection(String id)
           
 JsonRepresentation getCollections()
           
 JsonRepresentation getMembers()
           
 JsonRepresentation getProperties()
           
 JsonRepresentation getProperty(String id)
           
 String getTitle()
           
 
Methods inherited from class org.apache.isis.viewer.restfulobjects.domainobjects.DomainRepresentation
getExtensions, getLinks, getLinkWithRel, getLinkWithRel, getSelf
 
Methods inherited from class org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation
arrayAdd, arrayAdd, arrayAdd, arrayAdd, arrayAdd, arrayAdd, arrayAdd, arrayAdd, arrayAdd, arrayGet, arrayIterable, arrayIterable, arrayIterator, arrayIterator, arraySetElementAt, as, asArg, asArray, asArrayNode, asBigDecimal, asBigInteger, asBoolean, asDouble, asInputStream, asInt, asJsonNode, asLink, asLong, asMap, asNull, asObjectNode, asString, asUrlEncoded, ensureArray, getArray, getArrayEnsured, getBigDecimal, getBigInteger, getBoolean, getDouble, getInt, getLink, getLong, getMap, getNull, getRepresentation, getString, isArray, isArray, isBigDecimal, isBigDecimal, isBigInteger, isBigInteger, isBoolean, isBoolean, isDouble, isDouble, isInt, isInt, isLink, isLink, isLink, isLong, isLong, isMap, isMap, isNull, isNull, isString, isString, isValue, mapHas, mapIterable, mapIterator, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapValueAsLink, newArray, newArray, newMap, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractDomainObjectRepresentation

public AbstractDomainObjectRepresentation(org.codehaus.jackson.JsonNode jsonNode)
Method Detail

getTitle

public String getTitle()

getMembers

public JsonRepresentation getMembers()

getProperty

public JsonRepresentation getProperty(String id)

getProperties

public JsonRepresentation getProperties()

getCollection

public JsonRepresentation getCollection(String id)

getCollections

public JsonRepresentation getCollections()


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.