public class MetadataProperty extends Object implements IMetadataProperty, com.aspose.ms.System.IEquatable<MetadataProperty>
Represents metadata property.
Type | Property and Description |
---|---|
boolean |
isBuiltIn
Gets true if property is built-in.
|
Constructor and Description |
---|
MetadataProperty()
Initializes a new instance of the
MetadataProperty class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(MetadataProperty other)
Indicates whether the current object is equal to another object of the same type.
|
boolean |
equals(MetadataProperty other,
boolean ignoreCase)
Returns true if current instance and
other are equals. |
boolean |
equals(Object obj)
Indicates whether the current object is equal to another object of the same type.
|
String |
getFormattedValue()
Gets the formatted value.
|
String |
getName()
Gets or sets property name.
|
PropertyValue |
getValue()
Gets or sets property value.
|
int |
hashCode()
Returns a hash code for this instance.
|
boolean |
isBuiltInProperty()
Gets true if property is built-in.
|
void |
setName(String value)
Gets or sets property name.
|
void |
setValue(PropertyValue value)
Gets or sets property value.
|
String |
toString()
Returns a
System.String that represents this instance. |
Gets true if property is built-in.
Value:true
if property is built; otherwise, false
.public MetadataProperty()
Initializes a new instance of the MetadataProperty
class.
public final String getName()
Gets or sets property name.
Value: Property name.getName
in interface IMetadataProperty
public final void setName(String value)
Gets or sets property name.
Value: Property name.setName
in interface IMetadataProperty
public final PropertyValue getValue()
Gets or sets property value.
Value: Property value.public final void setValue(PropertyValue value)
Gets or sets property value.
Value: Property value.public final boolean isBuiltInProperty()
Gets true if property is built-in.
Value:true
if property is built; otherwise, false
.public String getFormattedValue()
Gets the formatted value.
getFormattedValue
in interface IMetadataProperty
public final boolean equals(MetadataProperty other, boolean ignoreCase)
Returns true if current instance and other
are equals.
other
- Compared object.ignoreCase
- Ignore case flag.true
if object are equals.public final boolean equals(MetadataProperty other)
Indicates whether the current object is equal to another object of the same type.
other
- An object to compare with this object.true
if the current object is equal to the other
parameter; otherwise, false
.public boolean equals(Object obj)
Indicates whether the current object is equal to another object of the same type.
equals
in interface com.aspose.ms.System.IEquatable<MetadataProperty>
equals
in class Object
obj
- The System.Object
to compare with this instance.true
if the specified System.Object
is equal to this instance; otherwise, false
.public int hashCode()
Returns a hash code for this instance.
Copyright © 2017. All rights reserved.