@Generated(value="org.jsonschema2pojo") public class Relationship extends Object implements Serializable
Constructor and Description |
---|
Relationship() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
RelationshipSource |
getSource() |
RelationshipTarget |
getTarget() |
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setSource(RelationshipSource source) |
void |
setTarget(RelationshipTarget target) |
String |
toString() |
Relationship |
withAdditionalProperty(String name,
Object value) |
Relationship |
withSource(RelationshipSource source) |
Relationship |
withTarget(RelationshipTarget target) |
@BeanProperty(value="source") public RelationshipSource getSource()
@BeanProperty(value="source") public void setSource(RelationshipSource source)
source
- The sourcepublic Relationship withSource(RelationshipSource source)
@BeanProperty(value="target") public RelationshipTarget getTarget()
@BeanProperty(value="target") public void setTarget(RelationshipTarget target)
target
- The targetpublic Relationship withTarget(RelationshipTarget target)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public Relationship withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.