public class Tag extends Object
| Constructor and Description |
|---|
Tag(int id,
String name,
List<String> type,
String cardinality,
String defaultValue,
String typedef,
String forceDescription)
Instantiates a new tag.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createValuesDictionary()
Creates the values dictionary.
|
String |
getCardinality()
Gets the cardinality.
|
Date |
getCreated()
Gets the created.
|
String |
getDefaultValue()
Gets the default value.
|
String |
getDescription()
Gets the description.
|
Integer |
getId()
Gets the id.
|
String |
getIfd()
Gets the ifd.
|
Date |
getModified()
Gets the modified.
|
String |
getName()
Gets the name.
|
String |
getSource()
Gets the source.
|
String |
getTextDescription(String encodedValue)
Gets the tag value description.
|
List<String> |
getType()
Gets the type.
|
String |
getTypedef()
Gets the typedef.
|
HashMap<String,String> |
getValues() |
boolean |
hasReadableDescription() |
boolean |
hasTypedef()
Checks for typedef.
|
void |
setCardinality(String cardinality)
Sets the cardinality.
|
void |
setCreated(Date created)
Sets the created.
|
void |
setDefaultValue(String defaultValue)
Sets the default value.
|
void |
setDescription(String description)
Sets the description.
|
void |
setId(Integer id)
Sets the id.
|
void |
setIfd(String ifd)
Sets the ifd.
|
void |
setModified(Date modified)
Sets the modified.
|
void |
setName(String name)
Sets the name.
|
void |
setSource(String source)
Sets the source.
|
void |
setType(List<String> type)
Sets the type.
|
void |
setValues(HashMap<String,String> values) |
public Tag(int id,
String name,
List<String> type,
String cardinality,
String defaultValue,
String typedef,
String forceDescription)
id - the idname - the nametype - the typecardinality - the cardinalitydefaultValue - the default valuetypedef - the typedefpublic Integer getId()
public void setId(Integer id)
id - the new idpublic void createValuesDictionary()
public String getTextDescription(String encodedValue)
encodedValue - the encoded valuepublic boolean hasReadableDescription()
public String getName()
public void setName(String name)
name - the new namepublic String getCardinality()
public void setCardinality(String cardinality)
cardinality - the new cardinalitypublic String getDefaultValue()
public void setDefaultValue(String defaultValue)
defaultValue - the new default valuepublic String getIfd()
public void setIfd(String ifd)
ifd - the new ifdpublic String getDescription()
public void setDescription(String description)
description - the new descriptionpublic String getSource()
public void setSource(String source)
source - the new sourcepublic Date getCreated()
public void setCreated(Date created)
created - the new createdpublic Date getModified()
public void setModified(Date modified)
modified - the new modifiedpublic String getTypedef()
public boolean hasTypedef()
Copyright © 2015–2020. All rights reserved.