When peapod generates the Impl classes for my project, the classes contain compilation errors. The root of the compilation problems exists in the class defined to represent an edge. When not framing edges, the classes come out ok.
The offending class is
import peapod.annotations.Edge;
import peapod.annotations.In;
import peapod.annotations.Out;
@Edge
public abstract class Uses {
public abstract String getRole();
public abstract void setRole(String role);
@Out
public abstract ConfigurationData getUses();
public abstract void setUses(ConfigurationData uses);
@In
public abstract ConfigurationData getUsedBy();
public abstract void setUsedBy(ConfigurationData usedBy);
}
for the sake of continuity, here is the ConfigurationData class
import java.util.List;
import peapod.annotations.Edge;
import peapod.annotations.In;
import peapod.annotations.Out;
import peapod.annotations.Vertex;
@Vertex
public abstract class ConfigurationData {
@Out @Edge("configures")
public abstract EntityData getEntity();
public abstract void setEntity(EntityData entity);
@Out
public abstract List<Uses> getUses();
public abstract Uses addUses();
public abstract Uses removeUses();
@In
public abstract List<Uses> getUsedBy();
}
The generated Uses$Impl class has the following errors:
FramedVertex cannot be resolved to a type
Direction cannot be resolved to a type
Further, the generated setUses() and setUsedBy() methods both reference an undefined field v
When peapod generates the Impl classes for my project, the classes contain compilation errors. The root of the compilation problems exists in the class defined to represent an edge. When not framing edges, the classes come out ok.
The offending class is
for the sake of continuity, here is the ConfigurationData class
The generated Uses$Impl class has the following errors:
Further, the generated setUses() and setUsedBy() methods both reference an undefined field
v
The POM file I am using is as follows
And for completeness, the generated Uses$Impl class