public abstract class Relationship extends Object implements SchemaElement, HasSchemaProperties
| Modifier | Constructor and Description |
|---|---|
protected |
Relationship(String parentName,
List<String> sourceConceptNames,
List<String> targetConceptNames,
Collection<SchemaProperty> properties) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCoreConceptprotected Relationship(String parentName, List<String> sourceConceptNames, List<String> targetConceptNames, Collection<SchemaProperty> properties)
public abstract String getId()
public abstract SandboxStatus getSandboxStatus()
public abstract String getName()
public String getParentName()
public abstract String getTitleFormula()
public abstract String getSubtitleFormula()
public abstract String getTimeFormula()
public abstract String getDisplayName()
public abstract String getColor()
public abstract boolean getUserVisible()
getUserVisible in interface SchemaElementpublic abstract boolean getDeleteable()
getDeleteable in interface SchemaElementpublic abstract boolean getUpdateable()
getUpdateable in interface SchemaElementpublic abstract String[] getIntents()
public Collection<SchemaProperty> getProperties()
getProperties in interface HasSchemaPropertiespublic abstract void addIntent(String intent, User user, Authorizations authorizations)
public abstract void removeIntent(String intent, Authorizations authorizations)
public void updateIntents(String[] newIntents, User user, Authorizations authorizations)
public abstract void setProperty(String name, Value value, User user, Authorizations authorizations)
public abstract void removeProperty(String name, Authorizations authorizations)
public ClientApiSchema.Relationship toClientApi()
public static Collection<ClientApiSchema.Relationship> toClientApiRelationships(Iterable<Relationship> relationships)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.