public final class DataType extends Object implements Serializable
All data in CWS must have a designated DataType, this can be either of the two default values ('Folders' & 'Data'), but it may also be something else.
If the CWS instance it mainly used for file sharing, the DataTypes can be setup with the various supported MIME Types. If the CWS instance is used for Application Data sharing, then it may be used to contain some helpful information about what the content may reflect, i.e. Object Type and perhaps Object Version.
If not needed, then it can be left alone. Default DataType in CWS is 'data'.
Constructor and Description |
---|
DataType() |
Modifier and Type | Method and Description |
---|---|
String |
getType() |
String |
getTypeName() |
void |
setType(String type) |
void |
setTypeName(String typeName) |
String |
toString() |
Copyright © 2019 JavaDog.io. All rights reserved.