/// /// <summary> * @return </summary> /// public virtual EnumNotificationDetails getNotificationDetailsType() { string s = getType(); if (isWildCard(s)) { return(null); } return(EnumNotificationDetails.getEnum(s)); }
/// /// <summary> * get the predefined notification details /// * </summary> /// * <param name="details"> /// * @return </param> /// public virtual JDFElement getNotificationDetails() { EnumNotificationDetails det = getNotificationDetailsType(); if (det == null) { return(null); } return((JDFElement)getElement(det.getName(), null, 0)); }
/// /// <summary> * append one of the predefined notification details /// * </summary> /// * <param name="details"> /// * @return </param> /// public virtual JDFElement appendNotificationDetails(EnumNotificationDetails details) { EnumNotificationDetails det = getNotificationDetailsType(); if (det != null && !det.Equals(details)) { return(null); } setType(details.getName()); return((JDFElement)appendElementN(details.getName(), 1, null)); }
/// /// <summary> * append one of the predefined notification details /// * </summary> /// * <param name="details"> /// * @return </param> /// public virtual JDFElement getCreateNotificationDetails(EnumNotificationDetails details) { JDFElement e = getNotificationDetails(); if (e == null) { return(appendNotificationDetails(details)); } if (!details.getName().Equals(e.LocalName)) { return(null); } setType(details.getName()); return(e); }