Class NotificationFilter
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.NotificationFilter
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class NotificationFilter extends java.lang.Object implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="Classes"> <simpleType> <list> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Event"/> <enumeration value="Information"/> <enumeration value="Warning"/> <enumeration value="Error"/> <enumeration value="Fatal"/> </restriction> </simpleType> </list> </simpleType> </attribute> <attribute name="MilestoneTypes" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotificationFilter.ClassJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<NotificationFilter.Class>classesprotected java.util.List<java.lang.String>milestoneTypes
-
Constructor Summary
Constructors Constructor Description NotificationFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)java.util.List<NotificationFilter.Class>getClasses()Gets the value of the classes property.java.util.List<java.lang.String>getMilestoneTypes()Gets the value of the milestoneTypes property.java.util.Map<javax.xml.namespace.QName,java.lang.String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)NotificationFilterwithClasses(java.util.Collection<NotificationFilter.Class> values)NotificationFilterwithClasses(NotificationFilter.Class... values)NotificationFilterwithMilestoneTypes(java.lang.String... values)NotificationFilterwithMilestoneTypes(java.util.Collection<java.lang.String> values)
-
-
-
Field Detail
-
classes
protected java.util.List<NotificationFilter.Class> classes
-
milestoneTypes
protected java.util.List<java.lang.String> milestoneTypes
-
-
Method Detail
-
getClasses
public java.util.List<NotificationFilter.Class> getClasses()
Gets the value of the classes property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the classes property.For example, to add a new item, do as follows:
getClasses().add(newItem);Objects of the following type(s) are allowed in the list
NotificationFilter.Class
-
getMilestoneTypes
public java.util.List<java.lang.String> getMilestoneTypes()
Gets the value of the milestoneTypes property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the milestoneTypes property.For example, to add a new item, do as follows:
getMilestoneTypes().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getOtherAttributes
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-
withClasses
public NotificationFilter withClasses(NotificationFilter.Class... values)
-
withClasses
public NotificationFilter withClasses(java.util.Collection<NotificationFilter.Class> values)
-
withMilestoneTypes
public NotificationFilter withMilestoneTypes(java.lang.String... values)
-
withMilestoneTypes
public NotificationFilter withMilestoneTypes(java.util.Collection<java.lang.String> values)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-