public class InMemoryRelationship extends Relationship
| Modifier | Constructor and Description |
|---|---|
protected |
InMemoryRelationship(String parentName,
String name,
List<String> domainConceptNames,
List<String> rangeConceptNames,
Collection<SchemaProperty> properties,
String workspaceId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addIntent(String intent,
User user,
Authorizations authorizations) |
void |
addInverseOf(Relationship inverseOfRelationship) |
String |
getColor() |
boolean |
getCoreConcept() |
boolean |
getDeleteable() |
String |
getDisplayName() |
String |
getId() |
String[] |
getIntents() |
Iterable<String> |
getInverseOfNames() |
Map<String,String> |
getMetadata() |
String |
getName() |
SandboxStatus |
getSandboxStatus() |
String |
getSubtitleFormula() |
String |
getTimeFormula() |
String |
getTitleFormula() |
boolean |
getUpdateable() |
boolean |
getUserVisible() |
String |
getWorkspaceId() |
void |
removeIntent(String intent,
Authorizations authorizations) |
void |
removeProperty(String name,
Authorizations authorizations) |
void |
removeWorkspaceId() |
void |
setProperty(String name,
Value value,
User user,
Authorizations authorizations) |
getParentName, getPrimaryInverseOfName, getProperties, getSourceConceptNames, getTargetConceptNames, toClientApi, toClientApiRelationships, toString, updateIntentsprotected InMemoryRelationship(String parentName, String name, List<String> domainConceptNames, List<String> rangeConceptNames, Collection<SchemaProperty> properties, String workspaceId)
public String getId()
getId in class Relationshippublic String getName()
getName in class Relationshippublic String getDisplayName()
getDisplayName in class Relationshippublic Iterable<String> getInverseOfNames()
getInverseOfNames in class Relationshippublic boolean getUserVisible()
getUserVisible in interface SchemaElementgetUserVisible in class Relationshippublic boolean getDeleteable()
getDeleteable in interface SchemaElementgetDeleteable in class Relationshippublic boolean getUpdateable()
getUpdateable in interface SchemaElementgetUpdateable in class Relationshippublic boolean getCoreConcept()
public String getTitleFormula()
getTitleFormula in class Relationshippublic String getSubtitleFormula()
getSubtitleFormula in class Relationshippublic String getTimeFormula()
getTimeFormula in class Relationshippublic String[] getIntents()
getIntents in class Relationshippublic void addIntent(String intent, User user, Authorizations authorizations)
addIntent in class Relationshippublic void removeIntent(String intent, Authorizations authorizations)
removeIntent in class Relationshippublic String getColor()
getColor in class Relationshippublic void setProperty(String name, Value value, User user, Authorizations authorizations)
setProperty in class Relationshippublic void removeProperty(String name, Authorizations authorizations)
removeProperty in class Relationshippublic Map<String,String> getMetadata()
getMetadata in class Relationshippublic void addInverseOf(Relationship inverseOfRelationship)
public String getWorkspaceId()
public void removeWorkspaceId()
public SandboxStatus getSandboxStatus()
getSandboxStatus in class RelationshipCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.