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 property name.
|
PropertyValue |
getValue()
Gets property value.
|
int |
hashCode()
Returns a hash code for this instance.
|
boolean |
isBuiltInProperty()
Gets true if property is built-in.
|
void |
setName(String value)
Sets property name.
|
void |
setValue(PropertyValue value)
Sets property value.
|
String |
toString()
Returns a
System.String that represents this instance. |
Gets true if property is built-in.
true
if property is built; otherwise, false
.public MetadataProperty()
Initializes a new instance of the MetadataProperty
class.
public final String getName()
Gets property name.
getName
in interface IMetadataProperty
public final void setName(String value)
Sets property name.
setName
in interface IMetadataProperty
value
- Property name.public final PropertyValue getValue()
Gets property value.
public final void setValue(PropertyValue value)
Sets property value.
value
- Property value.public final boolean isBuiltInProperty()
Gets true if property is built-in.
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 © 2018. All rights reserved.