|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.api.model.reference.Reference<T>
com.atlassian.confluence.api.model.reference.EmptyReference<T>
public final class EmptyReference<T>
A null object reference, indicates that the referenced property is empty.
| Method Summary | |
|---|---|
boolean |
exists()
An empty references value does not exist |
T |
get()
Always returns null, the referent object is never defined for an EmptyReference |
java.util.Map<java.lang.Object,java.lang.Object> |
getIdProperties()
A map of properties key by the idProperty enum in the model class for the referent object. |
boolean |
isExpanded()
An empty reference is expanded, but calling get will return null. |
java.util.Iterator<T> |
iterator()
|
java.lang.Class<? extends T> |
referentClass()
|
| Methods inherited from class com.atlassian.confluence.api.model.reference.Reference |
|---|
collapsed, collapsed, empty, getIdProperty, orEmpty, to |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public T get()
get in class Reference<T>public boolean exists()
exists in class Reference<T>public boolean isExpanded()
isExpanded in class Reference<T>public java.util.Map<java.lang.Object,java.lang.Object> getIdProperties()
Reference
getIdProperties in class Reference<T>public java.lang.Class<? extends T> referentClass()
referentClass in class Reference<T>public java.util.Iterator<T> iterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||