com.fonedynamics.MessageDirection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fonedynamics-apiclient Show documentation
Show all versions of fonedynamics-apiclient Show documentation
JDK 1.7 client library for Fone Dynamics services.
package com.fonedynamics;
/**
Represents the direction of a message.
*/
public enum MessageDirection
{
/**
The message is an outgoing message.
*/
Transmit,
/**
The message is an incoming message.
*/
Receive;
/**
* The size
*/
public static final int SIZE = java.lang.Integer.SIZE;
/**
* Returns int value for given enum
* @return int value for given enum
*/
public int getValue()
{
return this.ordinal();
}
/**
* Returns MessageDirection enum for given string
* @param value The int value
* @return the enum
*/
public static MessageDirection forValue(int value)
{
return values()[value];
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy