OpenECHO
 All Classes Namespaces Files Functions Variables
Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
com.sonycsl.echo.eoj.profile.ProfileObject Class Referenceabstract
Inheritance diagram for com.sonycsl.echo.eoj.profile.ProfileObject:
com.sonycsl.echo.eoj.EchoObject com.sonycsl.echo.eoj.profile.NodeProfile com.sonycsl.echo.processing.defaults.DefaultNodeProfile

Classes

class  Getter
 
class  Informer
 
class  Receiver
 
class  Setter
 

Public Member Functions

void onNew ()
 
Setter set ()
 
Setter set (boolean responseRequired)
 
Getter get ()
 
Informer inform ()
 
- Public Member Functions inherited from com.sonycsl.echo.eoj.EchoObject
 EchoObject ()
 
void onNew ()
 
void onFound ()
 
final byte[] getStatusChangeAnnouncementProperties ()
 
final byte[] getSetProperties ()
 
final byte[] getGetProperties ()
 
String toString ()
 
final byte getClassGroupCode ()
 
final byte getClassCode ()
 
abstract byte getInstanceCode ()
 
abstract short getEchoClassCode ()
 
final int getEchoObjectCode ()
 
final void setNode (EchoNode node)
 
final EchoNode getNode ()
 
final void removeNode ()
 
final boolean isSelfObject ()
 
final boolean isProxy ()
 
final void setReceiver (Receiver receiver)
 
final Receiver getReceiver ()
 
final EchoFrame onReceiveRequest (EchoFrame frame)
 
Setter set ()
 
Setter set (boolean responseRequired)
 
Getter get ()
 
Informer inform ()
 

Static Public Attributes

static final byte EPC_FAULT_STATUS = (byte)0x88
 
static final byte EPC_MANUFACTURER_CODE = (byte)0x8A
 
static final byte EPC_PLACE_OF_BUSINESS_CODE = (byte)0x8B
 
static final byte EPC_PRODUCT_CODE = (byte)0x8C
 
static final byte EPC_SERIAL_NUMBER = (byte)0x8D
 
static final byte EPC_DATE_OF_MANUFACTURE = (byte)0x8E
 
static final byte EPC_STATUS_CHANGE_ANNOUNCEMENT_PROPERTY_MAP = (byte)0x9D
 
static final byte EPC_SET_PROPERTY_MAP = (byte)0x9E
 
static final byte EPC_GET_PROPERTY_MAP = (byte)0x9F
 

Protected Member Functions

void setupPropertyMaps ()
 
synchronized boolean setProperty (EchoProperty property)
 
synchronized byte[] getProperty (byte epc)
 
synchronized boolean isValidProperty (EchoProperty property)
 
byte[] getFaultStatus ()
 
boolean isValidFaultStatus (byte[] edt)
 
abstract byte[] getManufacturerCode ()
 
boolean isValidManufacturerCode (byte[] edt)
 
byte[] getPlaceOfBusinessCode ()
 
boolean isValidPlaceOfBusinessCode (byte[] edt)
 
byte[] getProductCode ()
 
boolean isValidProductCode (byte[] edt)
 
byte[] getSerialNumber ()
 
boolean isValidSerialNumber (byte[] edt)
 
byte[] getDateOfManufacture ()
 
boolean isValidDateOfManufacture (byte[] edt)
 
byte[] getStatusChangeAnnouncementPropertyMap ()
 
boolean isValidStatusChangeAnnouncementPropertyMap (byte[] edt)
 
byte[] getSetPropertyMap ()
 
boolean isValidSetPropertyMap (byte[] edt)
 
byte[] getGetPropertyMap ()
 
boolean isValidGetPropertyMap (byte[] edt)
 
Informer inform (boolean multicast)
 
- Protected Member Functions inherited from com.sonycsl.echo.eoj.EchoObject
void setupPropertyMaps ()
 
final void addStatusChangeAnnouncementProperty (byte epc)
 
final void removeStatusChangeAnnouncementProperty (byte epc)
 
final void clearStatusChangeAnnouncementProperties ()
 
final void addSetProperty (byte epc)
 
final void removeSetProperty (byte epc)
 
final void clearSetProperties ()
 
final void addGetProperty (byte epc)
 
final void removeGetProperty (byte epc)
 
final void clearGetProperties ()
 
synchronized boolean setProperty (EchoProperty property)
 
synchronized byte[] getProperty (byte epc)
 
synchronized boolean isValidProperty (EchoProperty property)
 
final void onReceiveSetRequest (EchoProperty property, EchoFrame response)
 
final void onReceiveGetRequest (byte epc, EchoFrame response)
 
Informer inform (boolean multicast)
 
InformerC informC (String address)
 

Detailed Description

Definition at line 32 of file ProfileObject.java.

Member Function Documentation

Getter com.sonycsl.echo.eoj.profile.ProfileObject.get ( )

Definition at line 317 of file ProfileObject.java.

byte [] com.sonycsl.echo.eoj.profile.ProfileObject.getDateOfManufacture ( )
protected

Stipulated in 4 bytes
YYMD (1 byte/character)
YY:Year (0x07CF for 1999)
M:Month (0x0C for 12)
D:Day (0x14 for 20)

Data type : unsigned char×4
Data size : 4
Set : undefined
Get : optional

Definition at line 249 of file ProfileObject.java.

byte [] com.sonycsl.echo.eoj.profile.ProfileObject.getFaultStatus ( )
protected

Indicates an encountered abnormality (sensor trouble, etc.).
Fault encountered = 0x41, no fault encountered = 0x42

Data type : unsigned char
Data size : 1
Set : undefined
Get : optional

Definition at line 165 of file ProfileObject.java.

byte [] com.sonycsl.echo.eoj.profile.ProfileObject.getGetPropertyMap ( )
protected

See “ECHONET Device Objects: Detailed Specifications”.

Data type : unsigned char×(MAX17)
Data size : Max.17
Set : undefined
Get : mandatory

Definition at line 296 of file ProfileObject.java.

abstract byte [] com.sonycsl.echo.eoj.profile.ProfileObject.getManufacturerCode ( )
abstractprotected

Stipulated in 3 bytes
(To be specified by ECHONET Consortium)

Data type : unsigned char×3
Data size : 3
Set : undefined
Get : mandatory

byte [] com.sonycsl.echo.eoj.profile.ProfileObject.getPlaceOfBusinessCode ( )
protected

Stipulated in 3-byte place-of-business code
(Specified individually by each char×3 manufacturer)

Data type : unsigned char×3
Data size : 3
Set : undefined
Get : optional

Definition at line 196 of file ProfileObject.java.

byte [] com.sonycsl.echo.eoj.profile.ProfileObject.getProductCode ( )
protected

Specified in ASCII code
(Specified individually by each manufacturer)

Data type : unsigned char×12
Data size : 12
Set : undefined
Get : optional

Definition at line 213 of file ProfileObject.java.

synchronized byte [] com.sonycsl.echo.eoj.profile.ProfileObject.getProperty ( byte  epc)
protected

Definition at line 72 of file ProfileObject.java.

byte [] com.sonycsl.echo.eoj.profile.ProfileObject.getSerialNumber ( )
protected

Specified in ASCII code
(Specified individually by each manufacturer)

Data type : unsigned char×12
Data size : 12
Set : undefined
Get : optional

Definition at line 230 of file ProfileObject.java.

byte [] com.sonycsl.echo.eoj.profile.ProfileObject.getSetPropertyMap ( )
protected

See “ECHONET Device Objects: Detailed Specifications”.

Data type : unsigned char×(MAX17)
Data size : Max.17
Set : undefined
Get : mandatory

Definition at line 281 of file ProfileObject.java.

byte [] com.sonycsl.echo.eoj.profile.ProfileObject.getStatusChangeAnnouncementPropertyMap ( )
protected

See “ECHONET Device Objects: Detailed Specifications”.

Data type : unsigned char×(MAX17)
Data size : Max.17
Set : undefined
Get : mandatory

Definition at line 265 of file ProfileObject.java.

Informer com.sonycsl.echo.eoj.profile.ProfileObject.inform ( )

Definition at line 323 of file ProfileObject.java.

Informer com.sonycsl.echo.eoj.profile.ProfileObject.inform ( boolean  multicast)
protected

Definition at line 328 of file ProfileObject.java.

boolean com.sonycsl.echo.eoj.profile.ProfileObject.isValidDateOfManufacture ( byte[]  edt)
protected

Definition at line 253 of file ProfileObject.java.

boolean com.sonycsl.echo.eoj.profile.ProfileObject.isValidFaultStatus ( byte[]  edt)
protected

Definition at line 169 of file ProfileObject.java.

boolean com.sonycsl.echo.eoj.profile.ProfileObject.isValidGetPropertyMap ( byte[]  edt)
protected

Definition at line 299 of file ProfileObject.java.

boolean com.sonycsl.echo.eoj.profile.ProfileObject.isValidManufacturerCode ( byte[]  edt)
protected

Definition at line 183 of file ProfileObject.java.

boolean com.sonycsl.echo.eoj.profile.ProfileObject.isValidPlaceOfBusinessCode ( byte[]  edt)
protected

Definition at line 200 of file ProfileObject.java.

boolean com.sonycsl.echo.eoj.profile.ProfileObject.isValidProductCode ( byte[]  edt)
protected

Definition at line 217 of file ProfileObject.java.

synchronized boolean com.sonycsl.echo.eoj.profile.ProfileObject.isValidProperty ( EchoProperty  property)
protected

Definition at line 91 of file ProfileObject.java.

boolean com.sonycsl.echo.eoj.profile.ProfileObject.isValidSerialNumber ( byte[]  edt)
protected

Definition at line 234 of file ProfileObject.java.

boolean com.sonycsl.echo.eoj.profile.ProfileObject.isValidSetPropertyMap ( byte[]  edt)
protected

Definition at line 284 of file ProfileObject.java.

boolean com.sonycsl.echo.eoj.profile.ProfileObject.isValidStatusChangeAnnouncementPropertyMap ( byte[]  edt)
protected

Definition at line 269 of file ProfileObject.java.

void com.sonycsl.echo.eoj.profile.ProfileObject.onNew ( )

Definition at line 55 of file ProfileObject.java.

Setter com.sonycsl.echo.eoj.profile.ProfileObject.set ( )

Definition at line 306 of file ProfileObject.java.

Setter com.sonycsl.echo.eoj.profile.ProfileObject.set ( boolean  responseRequired)

Definition at line 311 of file ProfileObject.java.

synchronized boolean com.sonycsl.echo.eoj.profile.ProfileObject.setProperty ( EchoProperty  property)
protected

Definition at line 62 of file ProfileObject.java.

void com.sonycsl.echo.eoj.profile.ProfileObject.setupPropertyMaps ( )
protected

Definition at line 45 of file ProfileObject.java.

Member Data Documentation

final byte com.sonycsl.echo.eoj.profile.ProfileObject.EPC_DATE_OF_MANUFACTURE = (byte)0x8E
static

Definition at line 39 of file ProfileObject.java.

final byte com.sonycsl.echo.eoj.profile.ProfileObject.EPC_FAULT_STATUS = (byte)0x88
static

Definition at line 34 of file ProfileObject.java.

final byte com.sonycsl.echo.eoj.profile.ProfileObject.EPC_GET_PROPERTY_MAP = (byte)0x9F
static

Definition at line 42 of file ProfileObject.java.

final byte com.sonycsl.echo.eoj.profile.ProfileObject.EPC_MANUFACTURER_CODE = (byte)0x8A
static

Definition at line 35 of file ProfileObject.java.

final byte com.sonycsl.echo.eoj.profile.ProfileObject.EPC_PLACE_OF_BUSINESS_CODE = (byte)0x8B
static

Definition at line 36 of file ProfileObject.java.

final byte com.sonycsl.echo.eoj.profile.ProfileObject.EPC_PRODUCT_CODE = (byte)0x8C
static

Definition at line 37 of file ProfileObject.java.

final byte com.sonycsl.echo.eoj.profile.ProfileObject.EPC_SERIAL_NUMBER = (byte)0x8D
static

Definition at line 38 of file ProfileObject.java.

final byte com.sonycsl.echo.eoj.profile.ProfileObject.EPC_SET_PROPERTY_MAP = (byte)0x9E
static

Definition at line 41 of file ProfileObject.java.

final byte com.sonycsl.echo.eoj.profile.ProfileObject.EPC_STATUS_CHANGE_ANNOUNCEMENT_PROPERTY_MAP = (byte)0x9D
static

Definition at line 40 of file ProfileObject.java.


The documentation for this class was generated from the following file: