public class RelationType extends RelationTypeReference
Constructor and Description |
---|
RelationType() |
Modifier and Type | Method and Description |
---|---|
String |
getCoRole() |
String |
getDescription() |
String |
getRole() |
NamedResourceReference |
getSourceType() |
NamedResourceReference |
getTargetType() |
void |
setCoRole(String coRole)
Sets the co role of the Relation Type
|
void |
setDescription(String description) |
void |
setRole(String role)
Sets the role of the Relation Type
|
void |
setSourceType(NamedResourceReference sourceType)
Sets the source of the Relation Type
|
void |
setTargetType(NamedResourceReference targetType)
Sets the target of the Relation Type
|
getId, setId
public NamedResourceReference getSourceType()
NamedResourceReference
type object that represents
the source of the Relation Typepublic void setSourceType(NamedResourceReference sourceType)
sourceType
- the NamedResourceReference
type object that represents
the source of the Relation Typepublic NamedResourceReference getTargetType()
NamedResourceReference
type object that represents
the target of the Relation Typepublic void setTargetType(NamedResourceReference targetType)
targetType
- the NamedResourceReference
type object that represents
the target of the Relation Typepublic String getRole()
getRole
in class RelationTypeReference
public void setRole(String role)
RelationTypeReference
setRole
in class RelationTypeReference
role
- the role of the Relation Typepublic String getCoRole()
getCoRole
in class RelationTypeReference
public void setCoRole(String coRole)
RelationTypeReference
setCoRole
in class RelationTypeReference
coRole
- the co role of the Relation Typepublic String getDescription()
public void setDescription(String description)
Copyright © 2010–2019. All rights reserved.