public class Attributes extends Bean implements Cloneable, JavaCodeGenerator
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
Attributes() |
Modifier and Type | Method and Description |
---|---|
Attributes |
clone() |
Attributes |
copyFrom(Attributes attributes) |
boolean |
equals(Object obj) |
Attributes |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
Attributes |
fromXmlElement(Element element) |
void |
generateJavaCode(JavaCodeBuilder code) |
String |
getName(int index) |
List<String> |
getNames() |
Object |
getValue(int index) |
Object |
getValue(String name) |
<T> T |
getValue(String name,
T defaultValue) |
int |
hashCode() |
Attributes |
remove(int index) |
Attributes |
remove(String name) |
Attributes |
removeAll() |
Attributes |
setValue(String name,
Object value) |
int |
size() |
Record |
toRecord() |
Element |
toXmlElement(Document document) |
addExceptionProperties, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord
newInstanceFromJson
forEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXml
addExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exception
public Attributes clone()
public void generateJavaCode(JavaCodeBuilder code)
generateJavaCode
in interface JavaCodeGenerator
public int size()
public String getName(int index)
public Object getValue(int index)
public Attributes remove(int index)
public Attributes remove(String name)
public Attributes removeAll()
public <T> T getValue(String name, T defaultValue)
public Attributes setValue(String name, Object value)
public Attributes copyFrom(Attributes attributes)
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class Bean
public Attributes fromRecord(Record source)
RecordSerializable
this
(for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord
in interface RecordSerializable
fromRecord
in class Bean
public Element toXmlElement(Document document)
toXmlElement
in interface XmlSerializable
public Attributes fromXmlElement(Element element)
fromXmlElement
in interface XmlSerializable
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.