public interface EmbeddedWrapper
Resource
.Modifier and Type | Method and Description |
---|---|
String |
getRel()
Returns the rel to be used when embedding.
|
Class<?> |
getRelTargetType()
Returns the type to be used to calculate a type based rel.
|
Object |
getValue()
Returns the actual value to embed.
|
boolean |
hasRel(String rel)
Returns whether the wrapper has the given rel.
|
boolean |
isCollectionValue()
Returns whether the wrapper is a collection value.
|
String getRel()
getRelTargetType()
. A wrapper returning null for both getRel()
and
getRelTargetType()
is considered invalid.getRelTargetType()
boolean hasRel(String rel)
rel
- can be null.boolean isCollectionValue()
Object getValue()
Class<?> getRelTargetType()
getRel()
. A wrapper returning null for both getRel()
and
getRelTargetType()
is considered invalid.Copyright © 2012-2016–2018 Pivotal, Inc.. All rights reserved.