TypeDto

public class TypeDto

The TypeDto class contains information about an available field in an entity.

Fields

BLOB

public static final TypeDto BLOB

Constant BLOB is a representation of the MDS BLOB type.

BOOLEAN

public static final TypeDto BOOLEAN

Constant BOOLEAN is a representation of the MDS Boolean type.

CHARACTER

public static final TypeDto CHARACTER

Constant CHARACTER is a representation of the MDS Character type.

COLLECTION

public static final TypeDto COLLECTION

Constant LIST is a representation of the MDS Combobox type.

DATE

public static final TypeDto DATE

Constant DATE is a representation of the MDS Joda Date type.

DATETIME

public static final TypeDto DATETIME

Constant DATETIME is a representation of the MDS Joda DateTime type.

DATETIME8

public static final TypeDto DATETIME8

Constant DATETIME8 is a representation of the MDS Java8 DateTime type.

DOUBLE

public static final TypeDto DOUBLE

Constant DOUBLE is a representation of the MDS Decimal type.

FLOAT

public static final TypeDto FLOAT

Constant FLOAT is a representation of the MDS Decimal type.

INTEGER

public static final TypeDto INTEGER

Constant INTEGER is a representation of the MDS Integer type.

LOCAL_DATE

public static final TypeDto LOCAL_DATE

Constant LOCAL_DATE is a representation of the org.joda.time.LocalDate type.

LOCAL_DATE8

public static final TypeDto LOCAL_DATE8

Constant LOCAL_DATE8 is a representation of the MDS Java8 LocalDate type.

LONG

public static final TypeDto LONG

Constant LONG is a representation of the MDS Long type.

MANY_TO_MANY_RELATIONSHIP

public static final TypeDto MANY_TO_MANY_RELATIONSHIP

MANY_TO_ONE_RELATIONSHIP

public static final TypeDto MANY_TO_ONE_RELATIONSHIP

MAP

public static final TypeDto MAP

Constant MAP is a representation of the MDS Map type.

ONE_TO_MANY_RELATIONSHIP

public static final TypeDto ONE_TO_MANY_RELATIONSHIP

ONE_TO_ONE_RELATIONSHIP

public static final TypeDto ONE_TO_ONE_RELATIONSHIP

PERIOD

public static final TypeDto PERIOD

Constant PERIOD is a representation of the MDS Period type.

SHORT

public static final TypeDto SHORT

Constant SHORT is a representation of the MDS small Integer type.

STRING

public static final TypeDto STRING

Constant STRING is a representation of the MDS String type.

TIME

public static final TypeDto TIME

Constant TIME is a representation of the MDS Time type.

UUID

public static final TypeDto UUID

Constructors

TypeDto

public TypeDto()

TypeDto

public TypeDto(String displayName, String description, String defaultName, String typeClass)

TypeDto

public TypeDto(Long id, String displayName, String description, String defaultName, String typeClass)

Methods

equals

public boolean equals(Object obj)

{@inheritDoc}

getClassObjectForType

public Class<?> getClassObjectForType()

getDefaultName

public String getDefaultName()

getDescription

public String getDescription()

getDisplayName

public String getDisplayName()

getId

public Long getId()

getTypeClass

public String getTypeClass()

hashCode

public int hashCode()

{@inheritDoc}

isBlob

public boolean isBlob()

isCombobox

public boolean isCombobox()

isForClass

public boolean isForClass(Class<?> clazz)

isMap

public boolean isMap()

isRelationship

public boolean isRelationship()

isTextArea

public boolean isTextArea()

setDefaultName

public void setDefaultName(String defaultName)

setDescription

public void setDescription(String description)

setDisplayName

public void setDisplayName(String displayName)

setId

public void setId(Long id)

setTypeClass

public void setTypeClass(String typeClass)

toString

public String toString()

{@inheritDoc}