Package com.solibri.smc.api.model
Interface Relation
public interface Relation
Represents a relation between components.
- Since:
- 9.10.2
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumSpecifies the direction of a relation.static enumRepresents the types of supported relations.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the direction of this relation.getType()Returns the type of this relation.static Relationof(Relation.Type type, Relation.Direction direction) Returns a relation with the given type and direction.
- 
Method Details- 
ofReturns a relation with the given type and direction.- Parameters:
- type- the type of the relation
- direction- the direction of the relation
- Returns:
- a relation with the given type and direction
 
- 
getTypeRelation.Type getType()Returns the type of this relation.- Returns:
- the type of this relation
- Since:
- 9.10.2
 
- 
getDirectionRelation.Direction getDirection()Returns the direction of this relation.- Returns:
- the direction of this relation
- Since:
- 9.10.2
 
 
-