## javax.persistence
Annotation Type OneToOne

    @Target(value={METHOD,FIELD})
    @Retention(value=RUNTIME)
    public @interface OneToOne

Optional Element Summary
`CascadeType[]` `cascade`
`FetchType` `fetch`
`java.lang.String` `mappedBy`
`boolean` `optional`
`boolean` `orphanRemoval`
`java.lang.Class` `targetEntity`

### targetEntity

    public abstract java.lang.Class targetEntity

  Default:
    void.class

### cascade

    public abstract CascadeType[] cascade

  Default:
    {}

### fetch

    public abstract FetchType fetch

  Default:
    javax.persistence.FetchType.EAGER

### optional

    public abstract boolean optional

  Default:
    true

### mappedBy

    public abstract java.lang.String mappedBy

  Default:
    ""

### orphanRemoval

    public abstract boolean orphanRemoval

  Default:
    false