public class Attributes extends Bean implements Cloneable, JavaCodeGenerator
SERIALIZED_CLASS_NAME, TYPEXML_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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exceptionpublic Attributes clone()
public void generateJavaCode(JavaCodeBuilder code)
generateJavaCode in interface JavaCodeGeneratorpublic 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 RecordSerializabletoRecord in class Beanpublic Attributes fromRecord(Record source)
RecordSerializablethis (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 RecordSerializablefromRecord in class Beanpublic Element toXmlElement(Document document)
toXmlElement in interface XmlSerializablepublic Attributes fromXmlElement(Element element)
fromXmlElement in interface XmlSerializableCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.