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.

DATE

public static final TypeDto DATE

Constant DATE is a representation of the MDS Date type.

DATETIME

public static final TypeDto DATETIME

Constant DATETIME is a representation of the MDS DateTime type.

DOUBLE

public static final TypeDto DOUBLE

Constant DOUBLE is a representation of the MDS Decimal type.

INTEGER

public static final TypeDto INTEGER

Constant INTEGER is a representation of the MDS Integer type.

LIST

public static final TypeDto LIST

Constant LIST is a representation of the MDS Combobox type.

LOCAL_DATE

public static final TypeDto LOCAL_DATE

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

LONG

public static final TypeDto LONG

Constant LONG is a representation of the MDS Long type.

MAP

public static final TypeDto MAP

Constant MAP is a representation of the MDS Map type.

PERIOD

public static final TypeDto PERIOD

Constant PERIOD is a representation of the MDS Period 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.

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}

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}

isCombobox

public boolean isCombobox()

isRelationship

public boolean isRelationship()

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}