public class FormatType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2
Java class for FormatType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FormatType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:us:mil:ces:metadata:ddms:5}mimeType"/>
<element ref="{urn:us:mil:ces:metadata:ddms:5}extent" minOccurs="0"/>
<element ref="{urn:us:mil:ces:metadata:ddms:5}medium" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected QualifiedExtentValueType |
extent |
protected String |
medium |
protected String |
mimeType |
| Constructor and Description |
|---|
FormatType() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy) |
Object |
createNewInstance() |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) |
QualifiedExtentValueType |
getExtent()
Gets the value of the extent property.
|
String |
getMedium()
Gets the value of the medium property.
|
String |
getMimeType()
Gets the value of the mimeType property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
boolean |
isSetExtent() |
boolean |
isSetMedium() |
boolean |
isSetMimeType() |
void |
mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy) |
void |
mergeFrom(Object left,
Object right) |
void |
setExtent(QualifiedExtentValueType value)
Sets the value of the extent property.
|
void |
setMedium(String value)
Sets the value of the medium property.
|
void |
setMimeType(String value)
Sets the value of the mimeType property.
|
String |
toString() |
@NotNull(message="FormatType.mimeType {javax.validation.constraints.NotNull.message}")
@Size(min=1)
protected String mimeType
protected QualifiedExtentValueType extent
@Size(min=1) protected String medium
public String getMimeType()
Stringpublic void setMimeType(String value)
value - allowed object is
Stringpublic boolean isSetMimeType()
public QualifiedExtentValueType getExtent()
QualifiedExtentValueTypepublic void setExtent(QualifiedExtentValueType value)
value - allowed object is
QualifiedExtentValueTypepublic boolean isSetExtent()
public String getMedium()
Stringpublic void setMedium(String value)
value - allowed object is
Stringpublic boolean isSetMedium()
public Map<QName,String> getOtherAttributes()
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.
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void mergeFrom(Object left, Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2Copyright © 2014–2016 Pink Summit, LLC. All rights reserved.