Class ContentMetadata
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.ContentMetadata
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public class ContentMetadata 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}Comment" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}GeneralID" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="ContactRefs" type="{http://www.w3.org/2001/XMLSchema}IDREFS" /> <attribute name="ISBN" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="Title" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)CommentgetComment()Gets the value of the comment property.java.util.List<Resource>getContacts()Gets the value of the contacts property.java.util.List<GeneralID>getGeneralID()Gets the value of the generalID property.java.lang.StringgetISBN()Gets the value of the isbn 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.StringgetTitle()Gets the value of the title property.inthashCode()voidsetComment(Comment value)Sets the value of the comment property.voidsetISBN(java.lang.String value)Sets the value of the isbn property.voidsetTitle(java.lang.String value)Sets the value of the title property.ContentMetadatawithComment(Comment value)ContentMetadatawithContacts(java.util.Collection<Resource> values)ContentMetadatawithContacts(Resource... values)ContentMetadatawithGeneralID(java.util.Collection<GeneralID> values)ContentMetadatawithGeneralID(GeneralID... values)ContentMetadatawithISBN(java.lang.String value)ContentMetadatawithTitle(java.lang.String value)
-
-
-
Field Detail
-
comment
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected Comment comment
-
generalID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.util.List<GeneralID> generalID
-
contacts
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.util.List<Resource> contacts
-
isbn
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.String isbn
-
title
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.String title
-
-
Method Detail
-
getComment
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public Comment getComment()Gets the value of the comment property.- Returns:
- possible object is
Comment
-
setComment
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setComment(Comment value)Sets the value of the comment property.- Parameters:
value- allowed object isComment
-
getGeneralID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.util.List<GeneralID> getGeneralID()Gets the value of the generalID 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 generalID property.For example, to add a new item, do as follows:
getGeneralID().add(newItem);Objects of the following type(s) are allowed in the list
GeneralID- Returns:
- The value of the generalID property.
-
getContacts
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.util.List<Resource> getContacts()Gets the value of the contacts 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 contacts property.For example, to add a new item, do as follows:
getContacts().add(newItem);Objects of the following type(s) are allowed in the list
Object- Returns:
- The value of the contacts property.
-
getISBN
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.String getISBN()Gets the value of the isbn property.- Returns:
- possible object is
String
-
setISBN
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setISBN(java.lang.String value)Sets the value of the isbn property.- Parameters:
value- allowed object isString
-
getTitle
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.String getTitle()Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setTitle(java.lang.String value)Sets the value of the title property.- Parameters:
value- allowed object isString
-
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") 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
-
withComment
public ContentMetadata withComment(Comment value)
-
withGeneralID
public ContentMetadata withGeneralID(GeneralID... values)
-
withGeneralID
public ContentMetadata withGeneralID(java.util.Collection<GeneralID> values)
-
withContacts
public ContentMetadata withContacts(Resource... values)
-
withContacts
public ContentMetadata withContacts(java.util.Collection<Resource> values)
-
withISBN
public ContentMetadata withISBN(java.lang.String value)
-
withTitle
public ContentMetadata withTitle(java.lang.String value)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-