/** * @return String */ @IcalProperty(pindex = PropertyInfoIndex.DELETED) public boolean getDeleted() { return statusDeleted.equals(getStatus()); }
final String dir, final String namePart) { if (getPublick()) { setColPath(Util.buildPath(true, "/public", "/", setColPath(Util.buildPath(true, "/", homeDir,
/** Size to use for quotas. * * @return int */ @Override public int length() { return super.length() + getWord().length() + getDescription().length(); }
@Override public Object clone() { final BwCategory cat = new BwCategory(); super.copyTo(cat); cat.setWord((BwString)getWord().clone()); if (getDescription() != null) { cat.setDescription((BwString)getDescription().clone()); } cat.setName(getName()); return cat; } }
/** * fill in the uid. * * @return this object */ public BwEventProperty<T> initUid() { setUid(Uid.getUid()); return this; }
@Override protected void toStringSegment(final ToString ts) { super.toStringSegment(ts); ts.append("uid", getUid()); } }
/** Size to use for quotas. * * @return int */ @Override @NoDump public int getSize() { return super.length() + QuotaUtil.size(getWord()) + QuotaUtil.size(getDescription()); }
@SuppressWarnings("MethodDoesntCallSuperMethod") @Override public Object clone() { final BwContact sp = new BwContact(); super.copyTo(sp); sp.setCn((BwString)getCn().clone()); sp.setPhone(getPhone()); sp.setEmail(getEmail()); sp.setLink(getLink()); return sp; } }
@Override @NoDump @JsonIgnore public int getSize() { return super.length() + QuotaUtil.size(getAddress()) + QuotaUtil.size(getSubaddress()) + QuotaUtil.size(getLink()); }
@SuppressWarnings("MethodDoesntCallSuperMethod") @Override public Object clone() { final BwLocation loc = new BwLocation(); super.copyTo(loc); if (getAddress() != null) { loc.setAddress((BwString)getAddress().clone()); } if (getSubaddress() != null) { loc.setSubaddress((BwString)getSubaddress().clone()); } loc.setLink(getLink()); return loc; }
/** Size to use for quotas. * * @return int */ @Override @NoDump public int getSize() { return super.length() + QuotaUtil.size(getCn()) + QuotaUtil.size(getPhone()) + QuotaUtil.size(getEmail()) + QuotaUtil.size(getLink()); }