org.netbeans.modules.bpel.model.impl
Class AttributeAccess

java.lang.Object
  extended by org.netbeans.modules.bpel.model.impl.AttributeAccess

 class AttributeAccess
extends java.lang.Object

This is "utility" class that incapuslate inside itself all attribute logic.

Author:
ads

Constructor Summary
AttributeAccess(BpelEntityImpl entity)
           
 
Method Summary
(package private)  void fireUpdateReference(Reference reference)
           
(package private)  java.lang.Object getAttributeValueOf(Attribute attr, java.lang.String stringValue)
           
(package private)  TBoolean getBooleanAttribute(Attribute attr)
           
(package private)
<T extends BpelReferenceable>
BpelReference<T>
getBpelReference(Attribute attr, java.lang.Class<T> clazz)
           
(package private)
<T extends BpelReferenceable>
java.util.List<BpelReference<T>>
getBpelReferenceList(Attribute attr, java.lang.Class<T> type)
           
(package private)  javax.xml.namespace.QName getQNameAttribute(Attribute attr)
           
(package private)
<T extends org.netbeans.modules.xml.schema.model.ReferenceableSchemaComponent>
SchemaReference<T>
getSchemaReference(Attribute attr, java.lang.Class<T> clazz)
           
(package private)
<T extends org.netbeans.modules.xml.schema.model.ReferenceableSchemaComponent>
java.util.List<SchemaReference<T>>
getSchemaReferenceList(Attribute attr, java.lang.Class<T> type)
           
(package private)
<T extends ReferenceableWSDLComponent>
WSDLReference<T>
getWSDLReference(Attribute attr, java.lang.Class<T> clazz)
           
(package private)
<T extends ReferenceableWSDLComponent>
java.util.List<WSDLReference<T>>
getWSDLReferenceList(Attribute attr, java.lang.Class<T> type)
           
(package private)  void handleAttributeChange(org.w3c.dom.Node oldAttr, org.w3c.dom.Node newAttr)
           
(package private)  void removeAttribute(Attribute attr)
           
(package private)  void setBpelAttribute(Attribute attr, java.lang.Enum value)
           
(package private)  void setBpelAttribute(Attribute attr, javax.xml.namespace.QName qName)
           
(package private)  void setBpelAttribute(Attribute attr, java.lang.String value)
           
(package private)
<T extends BpelReferenceable>
void
setBpelReference(Attribute attr, BpelReference<T> ref)
           
(package private)
<T extends BpelReferenceable>
void
setBpelReferenceList(Attribute attr, java.lang.Class<T> type, java.util.List list)
           
(package private)
<T extends org.netbeans.modules.xml.schema.model.ReferenceableSchemaComponent>
void
setSchemaReference(Attribute attr, SchemaReference<T> ref)
           
(package private)  void setText(java.lang.String text)
           
(package private)
<T extends ReferenceableWSDLComponent>
void
setWSDLReference(Attribute attr, WSDLReference<T> ref)
           
(package private)
<T extends ReferenceableWSDLComponent>
void
setWSDLReferenceList(Attribute attr, java.lang.Class<T> type, java.util.List<WSDLReference<T>> list)
           
(package private)  void updateReference(Reference reference, BpelReferenceable subject)
          This method changes old reference reference to new reference with referenceable object subject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeAccess

AttributeAccess(BpelEntityImpl entity)
Method Detail

getBooleanAttribute

TBoolean getBooleanAttribute(Attribute attr)

getBpelReference

<T extends BpelReferenceable> BpelReference<T> getBpelReference(Attribute attr,
                                                                java.lang.Class<T> clazz)

getWSDLReference

<T extends ReferenceableWSDLComponent> WSDLReference<T> getWSDLReference(Attribute attr,
                                                                         java.lang.Class<T> clazz)

getSchemaReference

<T extends org.netbeans.modules.xml.schema.model.ReferenceableSchemaComponent> SchemaReference<T> getSchemaReference(Attribute attr,
                                                                                                                     java.lang.Class<T> clazz)

getBpelReferenceList

<T extends BpelReferenceable> java.util.List<BpelReference<T>> getBpelReferenceList(Attribute attr,
                                                                                    java.lang.Class<T> type)

getAttributeValueOf

java.lang.Object getAttributeValueOf(Attribute attr,
                                     java.lang.String stringValue)

getWSDLReferenceList

<T extends ReferenceableWSDLComponent> java.util.List<WSDLReference<T>> getWSDLReferenceList(Attribute attr,
                                                                                             java.lang.Class<T> type)

getSchemaReferenceList

<T extends org.netbeans.modules.xml.schema.model.ReferenceableSchemaComponent> java.util.List<SchemaReference<T>> getSchemaReferenceList(Attribute attr,
                                                                                                                                         java.lang.Class<T> type)

getQNameAttribute

javax.xml.namespace.QName getQNameAttribute(Attribute attr)

setBpelAttribute

void setBpelAttribute(Attribute attr,
                      java.lang.String value)
                throws VetoException
Throws:
VetoException

setBpelAttribute

void setBpelAttribute(Attribute attr,
                      java.lang.Enum value)

setBpelAttribute

void setBpelAttribute(Attribute attr,
                      javax.xml.namespace.QName qName)
                throws VetoException
Throws:
VetoException

setBpelReference

<T extends BpelReferenceable> void setBpelReference(Attribute attr,
                                                    BpelReference<T> ref)

setWSDLReference

<T extends ReferenceableWSDLComponent> void setWSDLReference(Attribute attr,
                                                             WSDLReference<T> ref)

setSchemaReference

<T extends org.netbeans.modules.xml.schema.model.ReferenceableSchemaComponent> void setSchemaReference(Attribute attr,
                                                                                                       SchemaReference<T> ref)

setWSDLReferenceList

<T extends ReferenceableWSDLComponent> void setWSDLReferenceList(Attribute attr,
                                                                 java.lang.Class<T> type,
                                                                 java.util.List<WSDLReference<T>> list)

removeAttribute

void removeAttribute(Attribute attr)

setBpelReferenceList

<T extends BpelReferenceable> void setBpelReferenceList(Attribute attr,
                                                        java.lang.Class<T> type,
                                                        java.util.List list)

setText

void setText(java.lang.String text)
       throws VetoException
Throws:
VetoException

updateReference

void updateReference(Reference reference,
                     BpelReferenceable subject)
This method changes old reference reference to new reference with referenceable object subject


fireUpdateReference

void fireUpdateReference(Reference reference)

handleAttributeChange

void handleAttributeChange(org.w3c.dom.Node oldAttr,
                           org.w3c.dom.Node newAttr)