|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openmuc.core.obis.OBISCode
public class OBISCode
A common representation for OBIS code strings according to IEC 62056-61. Contains methods to - convert OBIS code strings to a unique representation - test unique representations for equality - convert unique representation into a complete OBIS code string - get descriptive strings for OBIS codes
Field Summary | |
---|---|
protected short |
channel
|
protected short |
measurement
|
protected short |
measurementMode
|
protected short |
medium
|
protected short |
payLevel
|
protected short |
previousValue
|
Constructor Summary | |
---|---|
OBISCode()
Deprecated. |
|
OBISCode(byte[] code)
|
|
OBISCode(short medium,
short channel,
short measurement,
short measurementMode,
short payLevel,
short previousValue)
|
|
OBISCode(java.lang.String obisCode)
Create new instance by a given OBIS code string |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
short |
getChannel()
Deprecated. |
java.lang.String |
getDescription(int defaultMedium)
|
short |
getMeasurement()
Deprecated. |
short |
getMeasurementMode()
Deprecated. |
short |
getMedium()
Deprecated. |
short |
getPayLevel()
Deprecated. |
short |
getPreviousValue()
Deprecated. |
boolean |
isManufacturerSpecific()
Tests if this OBIS code is in the range of manufacturer specific codes. |
java.lang.String |
toString()
Convert object to a OBIS code string according to IEC 62056-61 with all code elements |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected short medium
protected short channel
protected short measurement
protected short measurementMode
protected short payLevel
protected short previousValue
Constructor Detail |
---|
public OBISCode(short medium, short channel, short measurement, short measurementMode, short payLevel, short previousValue)
@Deprecated public OBISCode()
public OBISCode(java.lang.String obisCode)
obisCode
- public OBISCode(byte[] code)
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
@Deprecated public short getMedium()
@Deprecated public short getChannel()
@Deprecated public short getMeasurement()
@Deprecated public short getMeasurementMode()
@Deprecated public short getPayLevel()
@Deprecated public short getPreviousValue()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isManufacturerSpecific()
public java.lang.String getDescription(int defaultMedium)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |