java.lang.Object
com.zeroc.IceGrid.PropertyDescriptor
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an Ice property.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aPropertyDescriptor
.PropertyDescriptor
(String name, String value) Constructs aPropertyDescriptor
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static PropertyDescriptor
ice_read
(InputStream istr) Unmarshals aPropertyDescriptor
from an input stream.static Optional<PropertyDescriptor>
ice_read
(InputStream istr, int tag) Unmarshals an optionalPropertyDescriptor
from an input stream.void
ice_readMembers
(InputStream istr) Unmarshals and sets this object's fields from an input stream.static void
ice_write
(OutputStream ostr, int tag, PropertyDescriptor v) Marshals an optionalPropertyDescriptor
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<PropertyDescriptor> v) Marshals an optionalPropertyDescriptor
into an output stream.static void
ice_write
(OutputStream ostr, PropertyDescriptor v) Marshals aPropertyDescriptor
into an output stream.void
ice_writeMembers
(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
name
The name of the property. -
value
The value of the property.
-
-
Constructor Details
-
PropertyDescriptor
public PropertyDescriptor()Constructs aPropertyDescriptor
. -
PropertyDescriptor
Constructs aPropertyDescriptor
with values for all its fields.- Parameters:
name
- The name of the property.value
- The value of the property.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
clone
-
ice_writeMembers
Marshals this object's fields into an output stream.- Parameters:
ostr
- the output stream
-
ice_readMembers
Unmarshals and sets this object's fields from an input stream.- Parameters:
istr
- the input stream
-
ice_write
Marshals aPropertyDescriptor
into an output stream.- Parameters:
ostr
- the output streamv
- thePropertyDescriptor
to marshal; can be null
-
ice_read
Unmarshals aPropertyDescriptor
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
PropertyDescriptor
-
ice_write
Marshals an optionalPropertyDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalPropertyDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalPropertyDescriptor
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-