Package org.openmuc.jship.message.cde
Class CDEMsg.ExtensionType
- java.lang.Object
-
- org.openmuc.jship.message.cde.CDEMsg.ExtensionType
-
- Enclosing class:
- CDEMsg
public static class CDEMsg.ExtensionType extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ExtensionType()
ExtensionType(java.lang.String extensionId, byte[] binary, java.lang.String string)
optional, can be used to extend content from payload with manufacturer specific dataExtensionType(java.lang.String extensionId, java.lang.String binary, java.lang.String string)
optional, can be used to extend content from payload with manufacturer specific data
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
byte[]
getBinary()
java.lang.String
getBinaryAsString()
java.lang.String
getExtensionId()
java.lang.String
getString()
int
hashCode()
void
setBinary(byte[] binary)
void
setExtensionId(java.lang.String extensionId)
void
setString(java.lang.String string)
-
-
-
Constructor Detail
-
ExtensionType
public ExtensionType()
-
ExtensionType
public ExtensionType(java.lang.String extensionId, byte[] binary, java.lang.String string)
optional, can be used to extend content from payload with manufacturer specific data- Parameters:
extensionId
- Identifier for content, may be used by manufacturer to identify the kind of content of 'binary' and 'string', nullablebinary
- Binary datastring
- Textual data
-
ExtensionType
public ExtensionType(java.lang.String extensionId, java.lang.String binary, java.lang.String string)
optional, can be used to extend content from payload with manufacturer specific data- Parameters:
extensionId
- Identifier for content, may be used by manufacturer to identify the kind of content of 'binary' and 'string', nullablebinary
- Binary datastring
- Textual data
-
-
Method Detail
-
getExtensionId
public java.lang.String getExtensionId()
-
setExtensionId
public void setExtensionId(java.lang.String extensionId)
-
getBinary
public byte[] getBinary()
-
setBinary
public void setBinary(byte[] binary)
-
getBinaryAsString
public java.lang.String getBinaryAsString()
-
getString
public java.lang.String getString()
-
setString
public void setString(java.lang.String string)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-