org.wso2.carbon.registry.core
Class Association

java.lang.Object
  extended by org.wso2.carbon.registry.api.Association
      extended by org.wso2.carbon.registry.core.Association

public class Association
extends org.wso2.carbon.registry.api.Association

This class is to store resource associations. Association can be made between 1. Registry Resource Paths. 2. Path with web url In addition to the source and target paths associations has a type. Dependency is a special case of association where the type field is always equal to Association.DEPENDS constant.


Field Summary
static java.lang.String DEPENDS
           
static java.lang.String USED_BY
           
 
Constructor Summary
Association()
           
Association(java.lang.String sourcePath, java.lang.String destinationPath, java.lang.String associationType)
           
 
Method Summary
 
Methods inherited from class org.wso2.carbon.registry.api.Association
getAssociationType, getDestinationPath, getSourcePath, setAssociationType, setDestinationPath, setSourcePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEPENDS

public static final java.lang.String DEPENDS
See Also:
Constant Field Values

USED_BY

public static final java.lang.String USED_BY
See Also:
Constant Field Values
Constructor Detail

Association

public Association()

Association

public Association(java.lang.String sourcePath,
                   java.lang.String destinationPath,
                   java.lang.String associationType)


Copyright © 2011 WSO2 Inc. All Rights Reserved.