Class ProjectFile
java.lang.Object
edu.university.ecs.lab.common.models.ir.ProjectFile
- All Implemented Interfaces:
JsonSerializable
- Direct Known Subclasses:
ConfigFile
,JClass
This class represents any file in a project's directory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonObject
This method is a generalizable definition for converting an object of any type to a JsonObject
-
Field Details
-
name
-
path
-
fileType
-
-
Constructor Details
-
ProjectFile
public ProjectFile()
-
-
Method Details
-
toJsonObject
public com.google.gson.JsonObject toJsonObject()Description copied from interface:JsonSerializable
This method is a generalizable definition for converting an object of any type to a JsonObject- Specified by:
toJsonObject
in interfaceJsonSerializable
- Returns:
- a JsonObject representing this
-