1 package be
.nikiroo
.jvcard
;
3 public class TypeInfo
{
9 public TypeInfo(String name
, String value
) {
14 public String
getName() {
18 public String
getValue() {
23 * Check if this {@link TypeInfo} has unsaved changes.
25 * @return TRUE if it has
27 public boolean isDirty() {
32 * Notify that this element has unsaved changes, and notify its parent of
35 protected void setDirty() {
37 if (this.parent
!= null)
38 this.parent
.setDirty();
42 * Notify this element <i>and all its descendants</i> that it is in pristine
43 * state (as opposed to dirty).
50 * Set the parent of this {@link TypeInfo}.
55 void setParent(Data parent
) {