|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.wso2.carbon.registry.api.Association
public class Association
This is a representation of a uni-directional association on the registry. An association can be created from any resource (or collection) on the registry to another resource (or collection) on the registry or an external resource which can be referred to by a URL.
While the source should be a resource existing on the registry, the destination resource can be anything for which a URL can be given.
| Field Summary | |
|---|---|
static String |
DEPENDS
Identifies a dependency to a resources. |
static String |
USED_BY
Identifies a usage of a resource. |
| Constructor Summary | |
|---|---|
Association()
Default constructor for the Association Class. |
|
Association(String sourcePath,
String destinationPath,
String associationType)
Construct an association by providing the source, target and the association type. |
|
| Method Summary | |
|---|---|
String |
getAssociationType()
Method to get the association type. |
String |
getDestinationPath()
Method to get the destination path. |
String |
getSourcePath()
Method to get the source path. |
void |
setAssociationType(String associationType)
Method to get the association type. |
void |
setDestinationPath(String destinationPath)
Method to set the destination path. |
void |
setSourcePath(String sourcePath)
Method to set the source path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEPENDS
public static final String USED_BY
| Constructor Detail |
|---|
public Association()
public Association(String sourcePath,
String destinationPath,
String associationType)
sourcePath - the source of the association.destinationPath - the destination of the association.associationType - the type of the association.| Method Detail |
|---|
public String getSourcePath()
public void setSourcePath(String sourcePath)
sourcePath - the source path.public String getDestinationPath()
public void setDestinationPath(String destinationPath)
destinationPath - the destination path.public String getAssociationType()
public void setAssociationType(String associationType)
associationType - the association type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||