Class DataStructureModel
java.lang.Object
org.eclipse.dirigible.database.ds.model.DataStructureModel
- Direct Known Subclasses:
DataStructureContentModel,DataStructureTableModel,DataStructureViewModel
public class DataStructureModel extends Object
The basis for all the data structure models.
-
Constructor Summary
Constructors Constructor Description DataStructureModel() -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)TimestampgetCreatedAt()Gets the created at.StringgetCreatedBy()Gets the created by.List<DataStructureDependencyModel>getDependencies()Gets the dependencies.StringgetHash()Gets the hash.StringgetLocation()Gets the location.StringgetName()Gets the name.StringgetType()Gets the type.inthashCode()voidsetCreatedAt(Timestamp createdAt)Sets the created at.voidsetCreatedBy(String createdBy)Sets the created by.voidsetHash(String hash)Sets the hash.voidsetLocation(String location)Sets the location.voidsetName(String name)Sets the name.voidsetType(String type)Sets the type.StringtoJson()To json.StringtoString()
-
Constructor Details
-
DataStructureModel
public DataStructureModel()
-
-
Method Details
-
getLocation
Gets the location.- Returns:
- the location
-
setLocation
Sets the location.- Parameters:
location- the new location
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getHash
Gets the hash.- Returns:
- the hash
-
setHash
Sets the hash.- Parameters:
hash- the new hash
-
getDependencies
Gets the dependencies.- Returns:
- the dependencies
-
getCreatedBy
Gets the created by.- Returns:
- the created by
-
setCreatedBy
Sets the created by.- Parameters:
createdBy- the new created by
-
getCreatedAt
Gets the created at.- Returns:
- the created at
-
setCreatedAt
Sets the created at.- Parameters:
createdAt- the new created at
-
toJson
To json.- Returns:
- the string
-
toString
-
hashCode
public int hashCode() -
equals
-