Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Plane {
- "name" : "..."
- "max_alt" : "..."
- }
- Submarine {
- "name" : "..."
- "depth_max" : "..."
- }
- Vehicle Value Attribute
- ------- 1:n ----------------- n:1 ----------
- ID (PK) OBJECT_FK (PK) ID (PK)
- ATTRIBUTE_FK (PK) NAME
- ATTRIBUTE_VALUE
- @Entity
- public class Vehicle{
- //obvious code ommited
- **Map<Attribute, Set<AttributeValue>> attributeValueMap;**
- }
Add Comment
Please, Sign In to add comment