java.lang.Object
com.zeroc.IceGrid.PropertyDescriptor
- All Implemented Interfaces:
Serializable,Cloneable
Describes an Ice property.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::PropertyDescriptor.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aPropertyDescriptor.PropertyDescriptor(String name, String value) Constructs aPropertyDescriptorwith values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static PropertyDescriptorice_read(InputStream istr) Unmarshals aPropertyDescriptorfrom an input stream.static Optional<PropertyDescriptor>ice_read(InputStream istr, int tag) Unmarshals an optionalPropertyDescriptorfrom an input stream.voidice_readMembers(InputStream istr) Unmarshals and sets this object's fields from an input stream.static voidice_write(OutputStream ostr, int tag, PropertyDescriptor v) Marshals an optionalPropertyDescriptorinto an output stream.static voidice_write(OutputStream ostr, int tag, Optional<PropertyDescriptor> v) Marshals an optionalPropertyDescriptorinto an output stream.static voidice_write(OutputStream ostr, PropertyDescriptor v) Marshals aPropertyDescriptorinto an output stream.voidice_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 aPropertyDescriptorwith 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 aPropertyDescriptorinto an output stream.- Parameters:
ostr- the output streamv- thePropertyDescriptorto marshal
-
ice_read
Unmarshals aPropertyDescriptorfrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
PropertyDescriptor
-
ice_write
Marshals an optionalPropertyDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalPropertyDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalPropertyDescriptorfrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-