DomainObjectRepresentation

API

DomainObjectRepresentation.java
class DomainObjectRepresentation {
  DomainObjectRepresentation(JsonNode jsonNode)
  String getTitle()
  String getDomainType()     (1)
  String getInstanceId()     (2)
  String getServiceId()     (3)
  JsonRepresentation getMembers()
  DomainObjectMemberRepresentation getProperty(String id)
  JsonRepresentation getProperties()
  DomainObjectMemberRepresentation getCollection(String id)
  JsonRepresentation getCollections()
  DomainObjectMemberRepresentation getAction(String id)
  JsonRepresentation getActions()
  LinkRepresentation getPersistLink()     (4)
  String getOid()     (5)
}
1 getDomainType()

Populated only for domain objects, not for domain services.

2 getInstanceId()

Populated only for domain objects, not for domain services.

3 getServiceId()

Populated only for domain services, not for domain objects.

4 getPersistLink()

Only for transient, persistable, objects

5 getOid()

Causeway extension.

Members

getDomainType()

Populated only for domain objects, not for domain services.

getInstanceId()

Populated only for domain objects, not for domain services.

getServiceId()

Populated only for domain services, not for domain objects.

Only for transient, persistable, objects

getOid()

Causeway extension.