Package org.arakhne.afc.attrs.collection
Interface ROMBasedAttributeCollection
-
- All Superinterfaces:
AttributeCollection
,AttributeProvider
,Cloneable
,JsonableObject
,Serializable
- All Known Implementing Classes:
DBaseFileAttributeCollection
public interface ROMBasedAttributeCollection extends AttributeCollection
This interface representes a provider of attributes that is partly based on data stored on a ROM (read-only memory).The changed values are stored inside the memory and never written back into the ROM.
- Version:
- 17.0 2020-01-04 14:41:51
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.advanced
- Maven Artifact Id:
- attributes
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<String>
getAllBufferedAttributeNames()
Replies the list of attributes that have changed.Collection<Attribute>
getAllBufferedAttributes()
Replies the list of attributes that have changed.int
getBufferedAttributeCount()
Replies the count of buffered attributes.boolean
isBufferedAttribute(String attributeName)
Replies if the specified attribute name corresponds to a buffered attribute value.-
Methods inherited from interface org.arakhne.afc.attrs.collection.AttributeCollection
addAttributeChangeListener, addAttributes, addAttributes, clone, flush, isEventFirable, removeAllAttributes, removeAttribute, removeAttributeChangeListener, renameAttribute, renameAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setAttributeType, setEventFirable
-
Methods inherited from interface org.arakhne.afc.attrs.collection.AttributeProvider
attributes, freeMemory, getAllAttributeNames, getAllAttributes, getAllAttributesByType, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttributeAsBool, getAttributeAsDate, getAttributeAsDouble, getAttributeAsEnumeration, getAttributeAsEnumeration, getAttributeAsFloat, getAttributeAsInetAddress, getAttributeAsInt, getAttributeAsJavaClass, getAttributeAsLong, getAttributeAsString, getAttributeAsURI, getAttributeAsURL, getAttributeAsUUID, getAttributeCount, getAttributeObject, hasAttribute, toMap, toMap
-
Methods inherited from interface org.arakhne.afc.vmutil.json.JsonableObject
toJson
-
-
-
-
Method Detail
-
getAllBufferedAttributeNames
@Pure Collection<String> getAllBufferedAttributeNames()
Replies the list of attributes that have changed.- Returns:
- the list of the names of the attributes which are stored inside the memory buffer.
-
getAllBufferedAttributes
@Pure Collection<Attribute> getAllBufferedAttributes()
Replies the list of attributes that have changed.- Returns:
- the list of attributes stored inside the memory buffer.
-
isBufferedAttribute
@Pure boolean isBufferedAttribute(String attributeName)
Replies if the specified attribute name corresponds to a buffered attribute value.- Parameters:
attributeName
- the name.- Returns:
true
if an attribute with the given name is stored inside the memory buffer, otherwisefalse
-
getBufferedAttributeCount
@Pure int getBufferedAttributeCount()
Replies the count of buffered attributes.- Returns:
- the count of buffered attributes.
-
-