@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface IP
The data type is String with 15 for length. Applies to properties.
Example:
@IP @Column(length=15) private String ip;