Package com.gooddata.sdk.model.md
Class Column
- java.lang.Object
-
- com.gooddata.sdk.model.md.AbstractObj
-
- com.gooddata.sdk.model.md.Column
-
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 java.lang.StringTYPE_DISPLAY_FORMstatic java.lang.StringTYPE_FACTstatic java.lang.StringTYPE_FKstatic java.lang.StringTYPE_INPUT_PKstatic java.lang.StringTYPE_PK-
Fields inherited from class com.gooddata.sdk.model.md.AbstractObj
meta
-
Fields inherited from interface com.gooddata.sdk.model.md.Obj
CREATE_URI, CREATE_WITH_ID_URI, OBJ_URI, URI
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDBName()java.lang.StringgetTableUri()java.lang.StringgetType()booleanisDisplayForm()booleanisFact()booleanisFk()booleanisInputPk()booleanisPk()java.lang.StringtoString()-
Methods inherited from class com.gooddata.sdk.model.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 java.lang.String TYPE_PK
- See Also:
- Constant Field Values
-
TYPE_INPUT_PK
public static final java.lang.String TYPE_INPUT_PK
- See Also:
- Constant Field Values
-
TYPE_FK
public static final java.lang.String TYPE_FK
- See Also:
- Constant Field Values
-
TYPE_FACT
public static final java.lang.String TYPE_FACT
- See Also:
- Constant Field Values
-
TYPE_DISPLAY_FORM
public static final java.lang.String TYPE_DISPLAY_FORM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTableUri
public java.lang.String getTableUri()
- Returns:
- uri of physical
Table
-
getType
public java.lang.String getType()
- Returns:
- type of column, one of
pk,inputpk,fk,fact,displayFormor null
-
getDBName
public java.lang.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 java.lang.String toString()
- Overrides:
toStringin classAbstractObj
-
-