Modifier and Type | Method and Description |
---|---|
Optional<T> |
asOptional() |
boolean |
exists() |
T |
get() |
Map<Object,Object> |
getIdProperties()
A map of properties key by the idProperty enum in the model class for the referent object.
|
boolean |
isExpanded()
indicates a reference is expanded and can be resolved to an object by calling get, or whether
the reference is collapsed and calling get will throw an exception.
|
Iterator<T> |
iterator() |
Class |
referentClass() |
String |
toString() |
collapsed, collapsed, collapsed, empty, equals, existsAndExpanded, getIdProperty, hashCode, orEmpty, orEmpty, to
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public T get()
public boolean exists()
public boolean isExpanded()
Reference
isExpanded
in class Reference<T>
public Map<Object,Object> getIdProperties()
Reference
getIdProperties
in class Reference<T>
public Class referentClass()
referentClass
in class Reference<T>
Copyright © 2003–2019 Atlassian. All rights reserved.