Modifier and Type | Class and Description |
---|---|
static class |
Relationship.Builder |
Constructor and Description |
---|
Relationship(Relationship.Builder builder) |
Modifier and Type | Method and Description |
---|---|
Instant |
getCreatedTime() |
PrincipalKey |
getCreator() |
ContentId |
getFromContent() |
RelationshipId |
getId() |
RelationshipKey |
getKey() |
PropertyPath |
getManagingData() |
Instant |
getModifiedTime() |
PrincipalKey |
getModifier() |
ImmutableMap<String,String> |
getProperties() |
String |
getProperty(String name) |
ContentId |
getToContent() |
RelationshipTypeName |
getType() |
boolean |
isManaged() |
static Relationship.Builder |
newRelationship() |
static Relationship.Builder |
newRelationship(Relationship relationship) |
public Relationship(Relationship.Builder builder)
public RelationshipId getId()
public RelationshipKey getKey()
public Instant getCreatedTime()
public PrincipalKey getCreator()
public Instant getModifiedTime()
public PrincipalKey getModifier()
public RelationshipTypeName getType()
public ContentId getFromContent()
public ContentId getToContent()
public ImmutableMap<String,String> getProperties()
public boolean isManaged()
public PropertyPath getManagingData()
public static Relationship.Builder newRelationship()
public static Relationship.Builder newRelationship(Relationship relationship)