org.wso2.carbon.registry.rest.api.model
Class AssociationModel

java.lang.Object
  extended by org.wso2.carbon.registry.rest.api.model.AssociationModel

public class AssociationModel
extends Object

Class provides the getters and setters to model the association to a resource


Constructor Summary
AssociationModel()
           
AssociationModel(org.wso2.carbon.registry.core.Association association)
           
 
Method Summary
 String getSource()
           
 String getTarget()
           
 String getType()
           
 void setSource(String source)
           
 void setTarget(String target)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationModel

public AssociationModel(org.wso2.carbon.registry.core.Association association)

AssociationModel

public AssociationModel()
Method Detail

getType

public String getType()

getTarget

public String getTarget()

getSource

public String getSource()

setType

public void setType(String type)

setTarget

public void setTarget(String target)

setSource

public void setSource(String source)


Copyright © 2015 WSO2. All rights reserved.