public class CkanDatasetRelationship extends Object
Constructor and Description |
---|
CkanDatasetRelationship() |
CkanDatasetRelationship(String subject,
String object,
String type)
Constructor with the minal amount of fields required for creation
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
A comment about the relationship
|
String |
getId() |
String |
getObject()
The id or name of the dataset that is the object of the relationship
|
String |
getSubject()
The id or name of the dataset that is the subject of the relationship
|
String |
getType()
The type of the relationship, one of 'depends_on', 'dependency_of',
'derives_from', 'has_derivation', 'links_to', 'linked_from', 'child_of'
or 'parent_of'
|
void |
setComment(String comment) |
void |
setId(String id) |
void |
setObject(String object)
The id or name of the dataset that is the object of the relationship
|
void |
setSubject(String subject)
The id or name of the dataset that is the subject of the relationship
|
void |
setType(String type)
The type of the relationship, one of 'depends_on', 'dependency_of',
'derives_from', 'has_derivation', 'links_to', 'linked_from', 'child_of'
or 'parent_of'
|
public String getComment()
public void setComment(String comment)
public String getId()
public void setId(String id)
public String getObject()
public void setObject(String object)
public String getSubject()
public void setSubject(String subject)
public String getType()
public void setType(String type)
Copyright © 2015 Trento Rise. All rights reserved.