Module de.codecamp.messages.shared
Class MessageKeyWithSourceLocation
java.lang.Object
de.codecamp.messages.shared.model.MessageKeyWithSourceLocation
- All Implemented Interfaces:
MessageKey,MessageKeyWithArgs,Comparable<MessageKeyWithSourceLocation>
public class MessageKeyWithSourceLocation
extends Object
implements MessageKeyWithArgs, Comparable<MessageKeyWithSourceLocation>
-
Field Summary
Fields inherited from interface de.codecamp.messages.MessageKey
TYPE_KEY_SUFFIX -
Constructor Summary
ConstructorsConstructorDescriptionMessageKeyWithSourceLocation(String code, String[] argTypes, String[] argNames, String sourceType, String localPart, ElementType sourceElementType, String sourceElementName, boolean defaultMessageAvailable) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.codecamp.messages.MessageKeyWithArgs
getArgs
-
Constructor Details
-
MessageKeyWithSourceLocation
-
-
Method Details
-
getCode
- Specified by:
getCodein interfaceMessageKey
-
hasArgs
public boolean hasArgs()- Specified by:
hasArgsin interfaceMessageKeyWithArgs
-
getArgTypes
- Specified by:
getArgTypesin interfaceMessageKeyWithArgs
-
getArgNames
- Specified by:
getArgNamesin interfaceMessageKeyWithArgs
-
getSourceType
-
getLocalPart
-
getSourceElementType
-
getSourceElementName
-
isDefaultMessageAvailable
public boolean isDefaultMessageAvailable()Whether the module that declares the message key provides a locale-agnostic default message.- Returns:
- the module that declares the message key provides a locale-agnostic default message
-
hashCode
public int hashCode() -
equals
-