com.atlassian.jira.rest.client.api
Class ExpandableProperty<T>

java.lang.Object
  extended by com.atlassian.jira.rest.client.api.ExpandableProperty<T>

public class ExpandableProperty<T>
extends Object

Represents a resource which can be expandable - that is REST API is capable of sending just the number of child resources or when the entity is expanded, also the child resources themselves

Since:
v0.1

Constructor Summary
ExpandableProperty(Collection<T> items)
           
ExpandableProperty(int size)
           
ExpandableProperty(int size, Collection<T> items)
           
 
Method Summary
 boolean equals(Object obj)
           
 Iterable<T> getItems()
           
 int getSize()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpandableProperty

public ExpandableProperty(int size)

ExpandableProperty

public ExpandableProperty(int size,
                          @Nullable
                          Collection<T> items)

ExpandableProperty

public ExpandableProperty(Collection<T> items)
Method Detail

getSize

public int getSize()

getItems

@Nullable
public Iterable<T> getItems()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013 Atlassian. All Rights Reserved.