Class JPAURelationship
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
-
- org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship
-
- All Implemented Interfaces:
Serializable,Entity,Relationship<User,AnyObject>,URelationship
@Entity public class JPAURelationship extends AbstractGeneratedKeyEntity implements URelationship
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringTABLE-
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOG
-
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
-
Constructor Summary
Constructors Constructor Description JPAURelationship()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsergetLeftEnd()AnyObjectgetRightEnd()RelationshipTypegetType()voidsetLeftEnd(User leftEnd)voidsetRightEnd(AnyObject rightEnd)voidsetType(RelationshipType type)-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
getKey, setKey
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toString
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public RelationshipType getType()
- Specified by:
getTypein interfaceRelationship<User,AnyObject>
-
setType
public void setType(RelationshipType type)
- Specified by:
setTypein interfaceRelationship<User,AnyObject>
-
getLeftEnd
public User getLeftEnd()
- Specified by:
getLeftEndin interfaceRelationship<User,AnyObject>
-
setLeftEnd
public void setLeftEnd(User leftEnd)
- Specified by:
setLeftEndin interfaceRelationship<User,AnyObject>
-
getRightEnd
public AnyObject getRightEnd()
- Specified by:
getRightEndin interfaceRelationship<User,AnyObject>
-
setRightEnd
public void setRightEnd(AnyObject rightEnd)
- Specified by:
setRightEndin interfaceRelationship<User,AnyObject>
-
-