/** * Polymorphic association to the object providing the paperclipAttachedTo. * * NB: strictly speaking these should be abstract; this is a workaround (see ISIS-582) */ @NotPersistent public Object getAttachedTo() { return null; } protected void setAttachedTo(Object object) {}
@Column public int getPrimitiveWithNoAllowsNull() { return primitiveWithNoAllowsNull; } public void setPrimitiveWithNoAllowsNull(int primitive) {
@EmbeddedOnly public class SimpleObjectWithEmbeddedOnly { private Long id; @PrimaryKey public Long getId() { return id; } public void setId(final Long id) { this.id = id; } }
@Column(allowsNull="false") public int getPrimitiveWithAllowsNullFalse() { return primitiveWithAllowsNullFalse; } public void setPrimitiveWithAllowsNullFalse(int primitive) {
/** * Polymorphic association to the object providing the paperclipAttachedTo. * * NB: strictly speaking these should be abstract; this is a workaround (see ISIS-582) */ @NotPersistent public Object getAttachedTo() { return null; } protected void setAttachedTo(Object object) {}
@Column public int getPrimitiveWithNoAllowsNull() { return primitiveWithNoAllowsNull; } public void setPrimitiveWithNoAllowsNull(int primitive) {
@Column(allowsNull="false") public String getReferenceWithAllowsNullFalse() { return referenceWithAllowsNullFalse; } public void setReferenceWithAllowsNullFalse(String referenceWithAllowsNullFalse) {
@Column public int getPrimitiveWithNoAllowsNull() { return primitiveWithNoAllowsNull; } public void setPrimitiveWithNoAllowsNull(int primitive) {
@Column public String getReferenceWithNoAllowsNull() { return referenceWithNoAllowsNull; } public void setReferenceWithNoAllowsNull(String reference) {
@Column(allowsNull="true") public int getPrimitiveWithAllowsNullTrue() { return primitiveWithAllowsNullTrue; } public void setPrimitiveWithAllowsNullTrue(int primitive) {
@Column public int getPrimitiveWithNoAllowsNull() { return primitiveWithNoAllowsNull; } public void setPrimitiveWithNoAllowsNull(int primitive) {
@Column public String getReferenceWithNoAllowsNull() { return referenceWithNoAllowsNull; } public void setReferenceWithNoAllowsNull(String reference) {
@Column(allowsNull="true") public String getReferenceWithAllowsNullTrue() { return referenceWithAllowsNullTrue; } public void setReferenceWithAllowsNullTrue(String referenceWithAllowsNullTrue) {
@Column public String getReferenceWithNoAllowsNull() { return referenceWithNoAllowsNull; } public void setReferenceWithNoAllowsNull(String reference) {
@Column(allowsNull="true") public String getReferenceWithAllowsNullTrue() { return referenceWithAllowsNullTrue; } public void setReferenceWithAllowsNullTrue(String referenceWithAllowsNullTrue) {
@Column(allowsNull="false") public String getReferenceWithAllowsNullFalse() { return referenceWithAllowsNullFalse; } public void setReferenceWithAllowsNullFalse(String referenceWithAllowsNullFalse) {
@Column(allowsNull="false") public int getPrimitiveWithAllowsNullFalse() { return primitiveWithAllowsNullFalse; } public void setPrimitiveWithAllowsNullFalse(int primitive) {
@Column(allowsNull="true") public int getPrimitiveWithAllowsNullTrue() { return primitiveWithAllowsNullTrue; } public void setPrimitiveWithAllowsNullTrue(int primitive) {
@Column(allowsNull="false") public String getReferenceWithAllowsNullFalse() { return referenceWithAllowsNullFalse; } public void setReferenceWithAllowsNullFalse(String referenceWithAllowsNullFalse) {
@Column(allowsNull="true") public int getPrimitiveWithAllowsNullTrue() { return primitiveWithAllowsNullTrue; } public void setPrimitiveWithAllowsNullTrue(int primitive) {