/** * @param aValue a value string for this component */ public Uid(final String aValue) { super(UID, PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * @param aValue a value string for this component */ public Uid(final String aValue) { super(UID, PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public Uid(final ParameterList aList, final String aValue) { super(UID, aList, PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * @param aValue a value string for this component */ public Uid(final String aValue) { super(UID, new Factory()); setValue(aValue); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public Uid(final ParameterList aList, final String aValue) { super(UID, aList, new Factory()); setValue(aValue); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public Uid(final ParameterList aList, final String aValue) { super(UID, aList, new Factory()); setValue(aValue); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public Uid(final ParameterList aList, final String aValue) { super(UID, aList, PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * @param aValue a value string for this component */ public Uid(final String aValue) { super(UID, new Factory()); setValue(aValue); }
/** * @param aValue a value string for this component */ public Uid(final String aValue) { super(UID, PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public Uid(final ParameterList aList, final String aValue) { super(UID, aList, PropertyFactoryImpl.getInstance()); setValue(aValue); }
protected void setIcalUid(String text, VEvent event) { event.getUid().setValue(text); }
protected void setIcalUid(String text, VEvent event) { event.getUid().setValue(text); }
uid.setValue(uid.getValue() + "-" +random.nextInt());
/** * Update the UID property on a component. * @param text UID value to update. If null, the UID property * will be removed * @param comp component to update */ public static void setUid(String text, Component comp) { Uid uid = (Uid) comp.getProperties().getProperty(Property.UID); if (text == null) { if (uid != null) { comp.getProperties().remove(uid); } return; } if (uid == null) { uid = new Uid(); comp.getProperties().add(uid); } uid.setValue(text); }
/** * Update the UID property on a component. * @param text UID value to update. If null, the UID property * will be removed * @param comp component to update */ public static void setUid(String text, Component comp) { Uid uid = (Uid) comp.getProperties().getProperty(Property.UID); if (text == null) { if (uid != null) { comp.getProperties().remove(uid); } return; } if (uid == null) { uid = new Uid(); comp.getProperties().add(uid); } uid.setValue(text); }