Package com.gooddata.md
Class Column
- java.lang.Object
-
- com.gooddata.md.AbstractObj
-
- com.gooddata.md.Column
-
- All Implemented Interfaces:
Obj,Queryable,Serializable
public class Column extends AbstractObj implements Queryable
Represents physical data model column. Doesn't implement all fields right now. Deserialization only.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE_DISPLAY_FORMstatic StringTYPE_FACTstatic StringTYPE_FKstatic StringTYPE_INPUT_PKstatic StringTYPE_PK-
Fields inherited from class com.gooddata.md.AbstractObj
meta
-
Fields inherited from interface com.gooddata.md.Obj
CREATE_URI, CREATE_WITH_ID_URI, OBJ_TEMPLATE, OBJ_URI, URI
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDBName()StringgetTableUri()StringgetType()booleanisDisplayForm()booleanisFact()booleanisFk()booleanisInputPk()booleanisPk()StringtoString()-
Methods inherited from class com.gooddata.md.AbstractObj
getAuthor, getCategory, getContributor, getCreated, getFlags, getId, getIdentifier, getSummary, getTags, getTitle, getUpdated, getUri, isDeprecated, isLocked, isProduction, isSharedWithSomeone, isUnlisted, setCategory, setDeprecated, setFlags, setIdentifier, setLocked, setProduction, setSharedWithSomeone, setSummary, setTags, setTitle, setUnlisted, uris
-
-
-
-
Field Detail
-
TYPE_PK
public static final String TYPE_PK
- See Also:
- Constant Field Values
-
TYPE_INPUT_PK
public static final String TYPE_INPUT_PK
- See Also:
- Constant Field Values
-
TYPE_FK
public static final String TYPE_FK
- See Also:
- Constant Field Values
-
TYPE_FACT
public static final String TYPE_FACT
- See Also:
- Constant Field Values
-
TYPE_DISPLAY_FORM
public static final String TYPE_DISPLAY_FORM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
- Returns:
- type of column, one of
pk,inputpk,fk,fact,displayFormor null
-
getDBName
public String getDBName()
- Returns:
- name of the column in DB
-
isPk
public boolean isPk()
- Returns:
- true when type is
pk, false otherwise
-
isInputPk
public boolean isInputPk()
- Returns:
- true when type is
inputpk, false otherwise
-
isFk
public boolean isFk()
- Returns:
- true when type is
fk, false otherwise
-
isFact
public boolean isFact()
- Returns:
- true when type is
fact, false otherwise
-
isDisplayForm
public boolean isDisplayForm()
- Returns:
- true when type is
pk, false otherwise
-
toString
public String toString()
- Overrides:
toStringin classAbstractObj
-
-