org.jboss.beans.metadata.plugins.policy
Class AbstractPolicyMetaData

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.beans.metadata.plugins.policy.AbstractPolicyMetaData
All Implemented Interfaces:
Serializable, Cloneable, BeanMetaDataFactory, PolicyMetaData, org.jboss.util.JBossInterface

public class AbstractPolicyMetaData
extends org.jboss.util.JBossObject
implements PolicyMetaData, Serializable

Meta data for policy.

Author:
Ales Justin
See Also:
Serialized Form

Field Summary
protected  Set<AnnotationMetaData> annotations
           
protected  Set<BindingMetaData> bindings
           
protected  String ext
           
protected  String name
           
protected  ScopeMetaData scope
           
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
AbstractPolicyMetaData()
           
 
Method Summary
 Set<AnnotationMetaData> getAnnotations()
          Get the annotations.
 List<BeanMetaData> getBeans()
          Get the beans
 Set<BindingMetaData> getBindings()
          Get the bindings
 String getExtends()
          Get the extends
 String getName()
          Get the name
 ScopeMetaData getScope()
          Get scope info
 void setAnnotations(Set<AnnotationMetaData> annotations)
           
 void setBindings(Set<BindingMetaData> bindings)
           
 void setExtends(String ext)
           
 void setName(String name)
           
 void setScope(ScopeMetaData scope)
           
 void toShortString(org.jboss.util.JBossStringBuilder buffer)
           
 void toString(org.jboss.util.JBossStringBuilder buffer)
           
 
Methods inherited from class org.jboss.util.JBossObject
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString
 

Field Detail

name

protected String name

ext

protected String ext

scope

protected ScopeMetaData scope

annotations

protected Set<AnnotationMetaData> annotations

bindings

protected Set<BindingMetaData> bindings
Constructor Detail

AbstractPolicyMetaData

public AbstractPolicyMetaData()
Method Detail

getName

public String getName()
Description copied from interface: PolicyMetaData
Get the name

Specified by:
getName in interface PolicyMetaData
Returns:
the name

getExtends

public String getExtends()
Description copied from interface: PolicyMetaData
Get the extends

Specified by:
getExtends in interface PolicyMetaData
Returns:
the name

getScope

public ScopeMetaData getScope()
Description copied from interface: PolicyMetaData
Get scope info

Specified by:
getScope in interface PolicyMetaData
Returns:
the name

getAnnotations

public Set<AnnotationMetaData> getAnnotations()
Description copied from interface: PolicyMetaData
Get the annotations.

Specified by:
getAnnotations in interface PolicyMetaData
Returns:
Set.

getBindings

public Set<BindingMetaData> getBindings()
Description copied from interface: PolicyMetaData
Get the bindings

Specified by:
getBindings in interface PolicyMetaData
Returns:
the name

getBeans

public List<BeanMetaData> getBeans()
Description copied from interface: BeanMetaDataFactory
Get the beans

Specified by:
getBeans in interface BeanMetaDataFactory
Returns:
a List

setName

public void setName(String name)

setExtends

public void setExtends(String ext)

setScope

public void setScope(ScopeMetaData scope)

setAnnotations

public void setAnnotations(Set<AnnotationMetaData> annotations)

setBindings

public void setBindings(Set<BindingMetaData> bindings)

toString

public void toString(org.jboss.util.JBossStringBuilder buffer)
Overrides:
toString in class org.jboss.util.JBossObject

toShortString

public void toShortString(org.jboss.util.JBossStringBuilder buffer)
Specified by:
toShortString in interface org.jboss.util.JBossInterface
Overrides:
toShortString in class org.jboss.util.JBossObject


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.