Class ReadonlyDirtyType
java.lang.Object
org.exolab.castor.xml.schema.annotations.jdo.ReadonlyDirtyType
- All Implemented Interfaces:
Serializable
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
boolean
getDirty()
Returns the value of field 'dirty'.boolean
Returns the value of field 'readOnly'.boolean
hasDirty()
Method hasDirty.boolean
Method hasReadOnly.boolean
isDirty()
Returns the value of field 'dirty'.boolean
Returns the value of field 'readOnly'.boolean
isValid()
Method isValid.void
void
marshal
(ContentHandler handler) void
setDirty
(boolean dirty) Sets the value of field 'dirty'.void
setReadOnly
(boolean readOnly) Sets the value of field 'readOnly'.static ReadonlyDirtyType
Method unmarshal.void
validate()
-
Constructor Details
-
ReadonlyDirtyType
public ReadonlyDirtyType()
-
-
Method Details
-
deleteDirty
public void deleteDirty() -
deleteReadOnly
public void deleteReadOnly() -
getDirty
public boolean getDirty()Returns the value of field 'dirty'. The field 'dirty' has the following description: If the value is 'true', the field will not be checked against the database for modification.- Returns:
- the value of field 'Dirty'.
-
getReadOnly
public boolean getReadOnly()Returns the value of field 'readOnly'. The field 'readOnly' has the following description: Attribute 'read-only' is used to set off changing the column. If true, no update can be performed.- Returns:
- the value of field 'ReadOnly'.
-
hasDirty
public boolean hasDirty()Method hasDirty.- Returns:
- true if at least one Dirty has been added
-
hasReadOnly
public boolean hasReadOnly()Method hasReadOnly.- Returns:
- true if at least one ReadOnly has been added
-
isDirty
public boolean isDirty()Returns the value of field 'dirty'. The field 'dirty' has the following description: If the value is 'true', the field will not be checked against the database for modification.- Returns:
- the value of field 'Dirty'.
-
isReadOnly
public boolean isReadOnly()Returns the value of field 'readOnly'. The field 'readOnly' has the following description: Attribute 'read-only' is used to set off changing the column. If true, no update can be performed.- Returns:
- the value of field 'ReadOnly'.
-
isValid
public boolean isValid()Method isValid.- Returns:
- true if this object is valid according to the schema
-
marshal
- Parameters:
out
-- Throws:
MarshalException
- if object is null or if any SAXException is thrown during marshalingValidationException
- if this object is an invalid instance according to the schema
-
marshal
public void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException - Parameters:
handler
-- Throws:
IOException
- if an IOException occurs during marshalingValidationException
- if this object is an invalid instance according to the schemaMarshalException
- if object is null or if any SAXException is thrown during marshaling
-
setDirty
public void setDirty(boolean dirty) Sets the value of field 'dirty'. The field 'dirty' has the following description: If the value is 'true', the field will not be checked against the database for modification.- Parameters:
dirty
- the value of field 'dirty'.
-
setReadOnly
public void setReadOnly(boolean readOnly) Sets the value of field 'readOnly'. The field 'readOnly' has the following description: Attribute 'read-only' is used to set off changing the column. If true, no update can be performed.- Parameters:
readOnly
- the value of field 'readOnly'.
-
unmarshal
public static ReadonlyDirtyType unmarshal(Reader reader) throws MarshalException, ValidationException Method unmarshal.- Parameters:
reader
-- Returns:
- the unmarshaled org.exolab.castor.xml.schema.annotations.jdo.ReadonlyDirtyTyp
- Throws:
MarshalException
- if object is null or if any SAXException is thrown during marshalingValidationException
- if this object is an invalid instance according to the schema
-
validate
- Throws:
ValidationException
- if this object is an invalid instance according to the schema
-