Class EnumKeyValueConfigurationBinaryObject
- java.lang.Object
-
- com.github.toolarium.enumeration.configuration.dto.EnumKeyValueConfigurationBinaryObject
-
- All Implemented Interfaces:
java.io.Serializable
public class EnumKeyValueConfigurationBinaryObject extends java.lang.Object implements java.io.Serializable
Defines the binary object- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnumKeyValueConfigurationBinaryObject()
Constructor for EnumKeyValueConfigurationBinaryObjectEnumKeyValueConfigurationBinaryObject(java.lang.String name, java.time.Instant timestamp, java.lang.String mimetype, java.lang.String data)
Constructor for EnumKeyValueConfigurationBinaryObject
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getData()
Get the datajava.lang.String
getMimetype()
Get the mime typejava.lang.String
getName()
Get the namejava.time.Instant
getTimestamp()
Get the timestampint
hashCode()
void
setData(java.lang.String data)
Set the datavoid
setMimetype(java.lang.String mimetype)
Set the mime typevoid
setName(java.lang.String name)
Set the namevoid
setTimestamp(java.time.Instant timestamp)
Set the timestampjava.lang.String
toString()
-
-
-
Constructor Detail
-
EnumKeyValueConfigurationBinaryObject
public EnumKeyValueConfigurationBinaryObject()
Constructor for EnumKeyValueConfigurationBinaryObject
-
EnumKeyValueConfigurationBinaryObject
public EnumKeyValueConfigurationBinaryObject(java.lang.String name, java.time.Instant timestamp, java.lang.String mimetype, java.lang.String data)
Constructor for EnumKeyValueConfigurationBinaryObject- Parameters:
name
- the nametimestamp
- the timestampmimetype
- the mime typedata
- the data
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name- Returns:
- the name
-
setName
public void setName(java.lang.String name)
Set the name- Parameters:
name
- the name
-
getTimestamp
public java.time.Instant getTimestamp()
Get the timestamp- Returns:
- the timestamp
-
setTimestamp
public void setTimestamp(java.time.Instant timestamp)
Set the timestamp- Parameters:
timestamp
- the timestamp
-
getMimetype
public java.lang.String getMimetype()
Get the mime type- Returns:
- the mime type
-
setMimetype
public void setMimetype(java.lang.String mimetype)
Set the mime type- Parameters:
mimetype
- the mime type
-
getData
public java.lang.String getData()
Get the data- Returns:
- the data
-
setData
public void setData(java.lang.String data)
Set the data- Parameters:
data
- the data
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-