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

java.lang.Object
  extended by org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation
      extended by org.apache.isis.viewer.restfulobjects.domainobjects.DomainRepresentation
All Implemented Interfaces:
JsonRepresentation.HasExtensions, JsonRepresentation.HasLinks, JsonRepresentation.LinksToSelf
Direct Known Subclasses:
AbstractDomainObjectRepresentation, AbstractObjectMemberRepresentation, AbstractTypeMemberRepresentation, DomainTypeRepresentation, HomePageRepresentation, ListRepresentation, ScalarValueRepresentation, TypeActionResultRepresentation, TypeListRepresentation, UserRepresentation, VersionRepresentation

public abstract class DomainRepresentation
extends JsonRepresentation
implements JsonRepresentation.LinksToSelf, JsonRepresentation.HasLinks, JsonRepresentation.HasExtensions


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
DomainRepresentation(org.codehaus.jackson.JsonNode jsonNode)
           
 
Method Summary
 JsonRepresentation getExtensions()
           
 JsonRepresentation getLinks()
           
 LinkRepresentation getLinkWithRel(Rel rel)
           
 LinkRepresentation getLinkWithRel(String rel)
           
 LinkRepresentation 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

DomainRepresentation

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

getSelf

public LinkRepresentation getSelf()
Specified by:
getSelf in interface JsonRepresentation.LinksToSelf

getLinks

public JsonRepresentation getLinks()
Specified by:
getLinks in interface JsonRepresentation.HasLinks

getLinkWithRel

public LinkRepresentation getLinkWithRel(Rel rel)

getLinkWithRel

public LinkRepresentation getLinkWithRel(String rel)

getExtensions

public JsonRepresentation getExtensions()
Specified by:
getExtensions in interface JsonRepresentation.HasExtensions


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