|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.odftoolkit.odfdom.dom.element.OdfElement
org.odftoolkit.odfdom.dom.element.db.OdfColumnDefinitionElement
public abstract class OdfColumnDefinitionElement
DOM implementation of OpenDocument element db:column-definition.
| Field Summary | |
|---|---|
static OdfName |
ELEMENT_NAME
|
| Fields inherited from class org.odftoolkit.odfdom.dom.element.OdfElement |
|---|
mOdfDocument |
| Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
localName, namespaceURI |
| Fields inherited from class org.apache.xerces.dom.ElementImpl |
|---|
attributes, name |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
|---|
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
|---|
nextSibling, previousSibling |
| Fields inherited from interface org.w3c.dom.TypeInfo |
|---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| Constructor Summary | |
|---|---|
OdfColumnDefinitionElement(OdfFileDom aOwnerDoc)
Create the instance of OdfColumnDefinitionElement |
|
| Method Summary | |
|---|---|
OdfBoolean |
getBooleanValue()
Get value of attribute office:boolean-value. |
String |
getCurrency()
Get value of attribute office:currency. |
OdfDataType |
getDataType()
Get value of attribute db:data-type. |
OdfDate |
getDateValue()
Get value of attribute office:date-value. |
OdfBoolean |
getIsAutoincrement()
Get value of attribute db:is-autoincrement. |
OdfBoolean |
getIsEmptyAllowed()
Get value of attribute db:is-empty-allowed. |
OdfIsNullableType |
getIsNullable()
Get value of attribute db:is-nullable. |
String |
getName()
Get value of attribute db:name. |
OdfName |
getOdfName()
Get the element name |
OdfPositiveInteger |
getPrecision()
Get value of attribute db:precision. |
OdfPositiveInteger |
getScale()
Get value of attribute db:scale. |
String |
getStringValue()
Get value of attribute office:string-value. |
OdfDuration |
getTimeValue()
Get value of attribute office:time-value. |
String |
getTypeName()
Get value of attribute db:type-name. |
Double |
getValue()
Get value of attribute office:value. |
OdfValueType |
getValueType()
Get value of attribute office:value-type. |
void |
init(String name)
Initialization of the mandatory attributes of OdfColumnDefinitionElement |
void |
setBooleanValue(OdfBoolean isBooleanValue)
Set value of attribute office:boolean-value. |
void |
setCurrency(String currency)
Set value of attribute office:currency. |
void |
setDataType(OdfDataType dataType)
Set value of attribute db:data-type. |
void |
setDateValue(OdfDate dateValue)
Set value of attribute office:date-value. |
void |
setIsAutoincrement(OdfBoolean isIsAutoincrement)
Set value of attribute db:is-autoincrement. |
void |
setIsEmptyAllowed(OdfBoolean isIsEmptyAllowed)
Set value of attribute db:is-empty-allowed. |
void |
setIsNullable(OdfIsNullableType isNullable)
Set value of attribute db:is-nullable. |
void |
setName(String name)
Set value of attribute db:name. |
void |
setPrecision(OdfPositiveInteger precision)
Set value of attribute db:precision. |
void |
setScale(OdfPositiveInteger scale)
Set value of attribute db:scale. |
void |
setStringValue(String stringValue)
Set value of attribute office:string-value. |
void |
setTimeValue(OdfDuration timeValue)
Set value of attribute office:time-value. |
void |
setTypeName(String typeName)
Set value of attribute db:type-name. |
void |
setValue(Double value)
Set value of attribute office:value. |
void |
setValueType(OdfValueType valueType)
Set value of attribute office:value-type. |
| Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfElement |
|---|
cloneNode, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, toString |
| Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
|---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
|---|
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
|---|
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData |
| Field Detail |
|---|
public static final OdfName ELEMENT_NAME
| Constructor Detail |
|---|
public OdfColumnDefinitionElement(OdfFileDom aOwnerDoc)
aOwnerDoc - The type is OdfFileDom| Method Detail |
|---|
public OdfName getOdfName()
getOdfName in class OdfElementpublic void init(String name)
OdfColumnDefinitionElement
name - The mandatory attribute db:name"public String getName()
public void setName(String name)
name - the attribute's type is Stringpublic OdfDataType getDataType()
public void setDataType(OdfDataType dataType)
dataType - the attribute's type is OdfDataTypepublic String getTypeName()
getTypeName in interface TypeInfogetTypeName in class ElementNSImplpublic void setTypeName(String typeName)
typeName - the attribute's type is Stringpublic OdfPositiveInteger getPrecision()
public void setPrecision(OdfPositiveInteger precision)
precision - the attribute's type is OdfPositiveIntegerpublic OdfPositiveInteger getScale()
public void setScale(OdfPositiveInteger scale)
scale - the attribute's type is OdfPositiveIntegerpublic OdfIsNullableType getIsNullable()
public void setIsNullable(OdfIsNullableType isNullable)
isNullable - the attribute's type is OdfIsNullableTypepublic OdfBoolean getIsEmptyAllowed()
public void setIsEmptyAllowed(OdfBoolean isIsEmptyAllowed)
isIsEmptyAllowed - the attribute's type is OdfBooleanpublic OdfBoolean getIsAutoincrement()
public void setIsAutoincrement(OdfBoolean isIsAutoincrement)
isIsAutoincrement - the attribute's type is OdfBooleanpublic OdfValueType getValueType()
public void setValueType(OdfValueType valueType)
valueType - the attribute's type is OdfValueTypepublic Double getValue()
public void setValue(Double value)
value - the attribute's type is Doublepublic String getCurrency()
public void setCurrency(String currency)
currency - the attribute's type is Stringpublic OdfDate getDateValue()
public void setDateValue(OdfDate dateValue)
dateValue - the attribute's type is OdfDatepublic OdfDuration getTimeValue()
public void setTimeValue(OdfDuration timeValue)
timeValue - the attribute's type is OdfDurationpublic OdfBoolean getBooleanValue()
public void setBooleanValue(OdfBoolean isBooleanValue)
isBooleanValue - the attribute's type is OdfBooleanpublic String getStringValue()
public void setStringValue(String stringValue)
stringValue - the attribute's type is String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||