public interface SerializedType
Modifier and Type | Method and Description |
---|---|
static SerializedType |
emptyType()
Returns the type that represents an empty message, of undefined type.
|
String |
getName()
Returns the name of the serialized type.
|
String |
getRevision()
Returns the revision identifier of the serialized object.
|
static boolean |
isEmptyType(SerializedType serializedType)
Check whether the
serializedType equals SerializedType#emptyType#getName() and returns a
corresponding true or false whether this is the case or not. |
static SerializedType emptyType()
null
revision.static boolean isEmptyType(SerializedType serializedType)
serializedType
equals SerializedType#emptyType#getName()
and returns a
corresponding true
or false
whether this is the case or not. The given serializedType
should not be null
as otherwise a NullPointerException
will be thrown.serializedType
- the type to check whether it equals emptyType()
true
if the serializedType
does equals the SerializedType#emptyType()#getName()
and false
if it doesNullPointerException
- if the given SerializedType
is null
String getName()
String getRevision()
Copyright © 2010–2023. All rights reserved.