public class ChildProjectResource extends java.lang.Object implements RestResource
RestResource.HasETag, RestResource.HasLastModified
Modifier and Type | Field and Description |
---|---|
static com.google.inject.TypeLiteral<RestView<ChildProjectResource>> |
CHILD_PROJECT_KIND |
Constructor and Description |
---|
ChildProjectResource(ProjectResource parent,
ProjectState child) |
Modifier and Type | Method and Description |
---|---|
ProjectState |
getChild() |
ProjectResource |
getParent() |
boolean |
isDirectChild() |
public static final com.google.inject.TypeLiteral<RestView<ChildProjectResource>> CHILD_PROJECT_KIND
public ChildProjectResource(ProjectResource parent, ProjectState child)
public ProjectResource getParent()
public ProjectState getChild()
public boolean isDirectChild()