@Override
	public boolean equals(Object obj)
	{
		if (obj instanceof JProperty) {
			JProperty p = (JProperty)obj;

			if (name != null) {
				if (p.name == null) return false;
				if (!name.equals(p.name)) return false;
			} else {
				if (p.name != null) return false;
			}

			if (value != null) {
				if (p.value == null) return false;
				if (!value.equals(p.value)) return false;
			} else {
				if (p.value != null) return false;
			}

			return true;
		} else {
			return false;
		}
	}