Module org.arakhne.afc.gis.gisbus
Package org.arakhne.afc.gis.bus.network
Class BusPrimitiveInvalidity
- java.lang.Object
-
- org.arakhne.afc.gis.bus.network.BusPrimitiveInvalidity
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class BusPrimitiveInvalidity extends Object implements Cloneable, Serializable
Describes all the possible reasons of the invalidity of a bus primitive.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:56
- Author:
- Stéphane GALLAND
- See Also:
- Serialized Form
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- gisbus
-
-
Field Summary
Fields Modifier and Type Field Description static BusPrimitiveInvalidity
GENERIC_INVALIDITY
Generic invalidity.
-
Constructor Summary
Constructors Constructor Description BusPrimitiveInvalidity(BusPrimitiveInvalidityType type, String additionalInformation)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BusPrimitiveInvalidity
clone()
boolean
equals(Object obj)
String
getLocalizedMessage()
Replies the localized message of the reason.BusPrimitiveInvalidityType
getType()
Replies the type of the invalidity.int
hashCode()
-
-
-
Field Detail
-
GENERIC_INVALIDITY
public static final BusPrimitiveInvalidity GENERIC_INVALIDITY
Generic invalidity.
-
-
Constructor Detail
-
BusPrimitiveInvalidity
public BusPrimitiveInvalidity(BusPrimitiveInvalidityType type, String additionalInformation)
Constructor.- Parameters:
type
- is the type of the invalidity.additionalInformation
- describes some additional information on the invalidity.
-
-
Method Detail
-
clone
@Pure public BusPrimitiveInvalidity clone()
-
getType
@Pure public BusPrimitiveInvalidityType getType()
Replies the type of the invalidity.- Returns:
- the type of the validity.
-
getLocalizedMessage
@Pure public String getLocalizedMessage()
Replies the localized message of the reason.- Returns:
- the localized message of the reason.
-
-