org.xwiki.component.descriptor
Class DefaultComponentRole<T>

java.lang.Object
  extended by org.xwiki.component.descriptor.DefaultComponentRole<T>
All Implemented Interfaces:
ComponentRole<T>
Direct Known Subclasses:
DefaultComponentDependency, DefaultComponentDescriptor

public class DefaultComponentRole<T>
extends Object
implements ComponentRole<T>


Constructor Summary
DefaultComponentRole()
           
 
Method Summary
 Class<T> getRole()
           
 String getRoleHint()
           
 void setRole(Class<T> role)
           
 void setRoleHint(String roleHint)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultComponentRole

public DefaultComponentRole()
Method Detail

setRole

public void setRole(Class<T> role)

getRole

public Class<T> getRole()
Specified by:
getRole in interface ComponentRole<T>

setRoleHint

public void setRoleHint(String roleHint)

getRoleHint

public String getRoleHint()
Specified by:
getRoleHint in interface ComponentRole<T>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2011 XWiki. All Rights Reserved.