org.xmlhammer.model.project
Class Attribute

java.lang.Object
  extended by org.xmlhammer.model.project.NodeType
      extended by org.xmlhammer.model.project.Attribute

public class Attribute
extends NodeType

Java class for attribute element declaration.

The following schema fragment specifies the expected content contained within this class.

 <element name="attribute">
   <complexType>
     <complexContent>
       <extension base="{http://www.xmlhammer.org/2007/project}nodeType">
         <sequence>
           <element ref="{http://www.xmlhammer.org/2007/project}type"/>
         </sequence>
         <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
         <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
         <attribute name="specified" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
         <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
       </extension>
     </complexContent>
   </complexType>
 </element>
 


Field Summary
protected  java.lang.Boolean id
           
protected  java.lang.String name
           
protected  java.lang.Boolean specified
           
protected  Type type
           
protected  java.lang.String value
           
 
Fields inherited from class org.xmlhammer.model.project.NodeType
baseURI, clazz, context, localName, namespaceURI, nodeName, nodeValue, path, prefix, src, textContent
 
Constructor Summary
Attribute()
           
 
Method Summary
 java.lang.String getName()
          Gets the value of the name property.
 Type getType()
          Gets the value of the type property.
 java.lang.String getValue()
          Gets the value of the value property.
 boolean isId()
          Gets the value of the id property.
 boolean isSpecified()
          Gets the value of the specified property.
 void setId(java.lang.Boolean value)
          Sets the value of the id property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setSpecified(java.lang.Boolean value)
          Sets the value of the specified property.
 void setType(Type value)
          Sets the value of the type property.
 void setValue(java.lang.String value)
          Sets the value of the value property.
 
Methods inherited from class org.xmlhammer.model.project.NodeType
getBaseURI, getClazz, getContext, getLocalName, getNamespaceURI, getNodeName, getNodeValue, getPath, getPrefix, getSrc, getTextContent, setBaseURI, setClazz, setContext, setLocalName, setNamespaceURI, setNodeName, setNodeValue, setPath, setPrefix, setSrc, setTextContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected Type type

id

protected java.lang.Boolean id

name

protected java.lang.String name

specified

protected java.lang.Boolean specified

value

protected java.lang.String value
Constructor Detail

Attribute

public Attribute()
Method Detail

getType

public Type getType()
Gets the value of the type property.

Returns:
possible object is Type

setType

public void setType(Type value)
Sets the value of the type property.

Parameters:
value - allowed object is Type

isId

public boolean isId()
Gets the value of the id property.

Returns:
possible object is Boolean

setId

public void setId(java.lang.Boolean value)
Sets the value of the id property.

Parameters:
value - allowed object is Boolean

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isSpecified

public boolean isSpecified()
Gets the value of the specified property.

Returns:
possible object is Boolean

setSpecified

public void setSpecified(java.lang.Boolean value)
Sets the value of the specified property.

Parameters:
value - allowed object is Boolean

getValue

public java.lang.String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(java.lang.String value)
Sets the value of the value property.

Parameters:
value - allowed object is String


Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.