public class ChildRef extends Object implements Identifiable, Comparable<ChildRef>
| Constructor and Description |
|---|
ChildRef(Id id,
String sortKey,
org.joda.time.DateTime updated,
EntityType type) |
ChildRef(long id,
String sortKey,
org.joda.time.DateTime updated,
EntityType type) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ChildRef comparableTo) |
static List<ChildRef> |
dedupeAndSort(Iterable<ChildRef> childRefs) |
boolean |
equals(Object that) |
Id |
getId() |
String |
getSortKey() |
EntityType |
getType() |
org.joda.time.DateTime |
getUpdated() |
int |
hashCode() |
String |
toString() |
public ChildRef(long id,
String sortKey,
org.joda.time.DateTime updated,
EntityType type)
public ChildRef(Id id, String sortKey, org.joda.time.DateTime updated, EntityType type)
public Id getId()
getId in interface Identifiablepublic String getSortKey()
public org.joda.time.DateTime getUpdated()
public EntityType getType()
public int compareTo(ChildRef comparableTo)
compareTo in interface Comparable<ChildRef>Copyright © 2014. All rights reserved.