Package nl.b3p.csw.jaxb.csw
Class InsertType
- java.lang.Object
-
- nl.b3p.csw.jaxb.csw.InsertType
-
public class InsertType extends Object
Submits one or more records to the catalogue. The representation is defined by the application profile. The handle attribute may be included to specify a local identifier for the action (it must be unique within the context of the transaction).Java class for InsertType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="InsertType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any namespace='##other' maxOccurs="unbounded"/> </sequence> <attribute name="typeName" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="handle" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description InsertType()Default no-arg constructorInsertType(List<Object> any, String typeName, String handle)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getAny()Gets the value of the any property.StringgetHandle()Gets the value of the handle property.StringgetTypeName()Gets the value of the typeName property.voidsetHandle(String value)Sets the value of the handle property.voidsetTypeName(String value)Sets the value of the typeName property.
-
-
-
Method Detail
-
getAny
public List<Object> getAny()
Gets the value of the any 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 any property.For example, to add a new item, do as follows:
getAny().add(newItem);Objects of the following type(s) are allowed in the list
Object
-
getTypeName
public String getTypeName()
Gets the value of the typeName property.- Returns:
- possible object is
String
-
setTypeName
public void setTypeName(String value)
Sets the value of the typeName property.- Parameters:
value- allowed object isString
-
getHandle
public String getHandle()
Gets the value of the handle property.- Returns:
- possible object is
String
-
-