|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.archiviststoolkit.structure.MODS.ModsType
public class ModsType
Java class for modsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="modsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <group ref="{http://www.loc.gov/mods/v3}modsGroup" maxOccurs="unbounded"/> <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="version" type="{http://www.loc.gov/mods/v3}versionType" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected java.lang.String |
id
|
protected java.util.List<java.lang.Object> |
modsGroup
|
protected java.lang.String |
version
|
Constructor Summary | |
---|---|
ModsType()
|
Method Summary | |
---|---|
java.lang.String |
getID()
Gets the value of the id property. |
java.util.List<java.lang.Object> |
getModsGroup()
Gets the value of the modsGroup property. |
java.lang.String |
getVersion()
Gets the value of the version property. |
void |
setID(java.lang.String value)
Sets the value of the id property. |
void |
setVersion(java.lang.String value)
Sets the value of the version property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<java.lang.Object> modsGroup
protected java.lang.String id
protected java.lang.String version
Constructor Detail |
---|
public ModsType()
Method Detail |
---|
public java.util.List<java.lang.Object> getModsGroup()
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 set
method for the modsGroup property.
For example, to add a new item, do as follows:
getModsGroup().add(newItem);
Objects of the following type(s) are allowed in the list
SubjectType
GenreType
AccessConditionType
LocationType
IdentifierType
OriginInfoType
RelatedItemType
TableOfContentsType
ExtensionType
TypeOfResourceType
TitleInfoType
PartType
NameType
LanguageType
PhysicalDescriptionType
ClassificationType
AbstractType
TargetAudienceType
NoteType
RecordInfoType
public java.lang.String getID()
String
public void setID(java.lang.String value)
value
- allowed object is
String
public java.lang.String getVersion()
String
public void setVersion(java.lang.String value)
value
- allowed object is
String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |