Skip to content

Commit 860b8fc

Browse files
committed
Adding rest of sets
1 parent 843bcc5 commit 860b8fc

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/entities/DFGVariable.jl

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,20 +196,35 @@ $SIGNATURES
196196
Return the label for a variable.
197197
"""
198198
label(v::VariableDataLevel0) = v.label
199+
199200
"""
200201
$SIGNATURES
201202
202203
Return the tags for a variable.
203204
"""
204205
tags(v::VariableDataLevel0) = v.tags
205206

207+
"""
208+
$SIGNATURES
209+
210+
Get the small data for a variable.
211+
"""
212+
setTags(v::VariableDataLevel0, tags::Vector{Symbol}) = v.tags = tags
213+
206214
"""
207215
$SIGNATURES
208216
209217
Return the timestamp for a variable.
210218
"""
211219
timestamp(v::VariableDataLevel1) = v.timestamp
212220

221+
"""
222+
$SIGNATURES
223+
224+
Get the small data for a variable.
225+
"""
226+
setTimestamp(v::VariableDataLevel1, timestamp::DateTime) = v.timestamp = timestamp
227+
213228
"""
214229
$SIGNATURES
215230
@@ -280,5 +295,12 @@ Get the small data for a variable.
280295
"""
281296
smallData(v::DFGVariable) = v.smallData
282297

298+
"""
299+
$SIGNATURES
300+
301+
Get the small data for a variable.
302+
"""
303+
setSmallData(v::DFGVariable, smallData::String) = v.smallData = smallData
304+
283305
# Todo: Complete this.
284306
bigData(v::DFGVariable) = v.bigData

0 commit comments

Comments
 (0)