Class MetadataMap
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.MetadataMap
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public class MetadataMap extends java.lang.Object implements java.io.SerializableJava 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"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Expr" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ValueFormat" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ValueTemplate" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Expr>exprprotected java.lang.Stringnameprotected java.lang.StringvalueFormatprotected java.util.List<java.lang.String>valueTemplate
-
Constructor Summary
Constructors Constructor Description MetadataMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)java.util.List<Expr>getExpr()Gets the value of the expr property.java.lang.StringgetName()Gets the value of the name 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.java.lang.StringgetValueFormat()Gets the value of the valueFormat property.java.util.List<java.lang.String>getValueTemplate()Gets the value of the valueTemplate property.inthashCode()voidsetName(java.lang.String value)Sets the value of the name property.voidsetValueFormat(java.lang.String value)Sets the value of the valueFormat property.MetadataMapwithExpr(java.util.Collection<Expr> values)MetadataMapwithExpr(Expr... values)MetadataMapwithName(java.lang.String value)MetadataMapwithValueFormat(java.lang.String value)MetadataMapwithValueTemplate(java.lang.String... values)MetadataMapwithValueTemplate(java.util.Collection<java.lang.String> values)
-
-
-
Field Detail
-
expr
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.util.List<Expr> expr
-
name
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.String name
-
valueFormat
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.String valueFormat
-
valueTemplate
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.util.List<java.lang.String> valueTemplate
-
-
Method Detail
-
getExpr
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public java.util.List<Expr> getExpr()Gets the value of the expr 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 Jakarta XML Binding object. This is why there is not a
setmethod for the expr property.For example, to add a new item, do as follows:
getExpr().add(newItem);Objects of the following type(s) are allowed in the list
Expr- Returns:
- The value of the expr property.
-
getName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public java.lang.String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public void setName(java.lang.String value)Sets the value of the name property.- Parameters:
value- allowed object isString
-
getValueFormat
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public java.lang.String getValueFormat()Gets the value of the valueFormat property.- Returns:
- possible object is
String
-
setValueFormat
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public void setValueFormat(java.lang.String value)Sets the value of the valueFormat property.- Parameters:
value- allowed object isString
-
getValueTemplate
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public java.util.List<java.lang.String> getValueTemplate()Gets the value of the valueTemplate 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 Jakarta XML Binding object. This is why there is not a
setmethod for the valueTemplate property.For example, to add a new item, do as follows:
getValueTemplate().add(newItem);Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the valueTemplate property.
-
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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
-
withExpr
public MetadataMap withExpr(Expr... values)
-
withExpr
public MetadataMap withExpr(java.util.Collection<Expr> values)
-
withName
public MetadataMap withName(java.lang.String value)
-
withValueFormat
public MetadataMap withValueFormat(java.lang.String value)
-
withValueTemplate
public MetadataMap withValueTemplate(java.lang.String... values)
-
withValueTemplate
public MetadataMap withValueTemplate(java.util.Collection<java.lang.String> values)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-