public class PropertyData extends Object
Constructor and Description |
---|
PropertyData(String newName,
PropertyData propertyData)
Copies the given property data, except the name.
|
PropertyData(String name,
String beanName,
String accessType,
ModificationStore store) |
PropertyData(String name,
String beanName,
String accessType,
ModificationStore store,
boolean usingModifiedFlag,
String modifiedFlagName,
boolean synthetic) |
PropertyData(String name,
String beanName,
String accessType,
ModificationStore store,
boolean usingModifiedFlag,
String modifiedFlagName,
boolean synthetic,
Type propertyType) |
PropertyData(String name,
String beanName,
String accessType,
ModificationStore store,
boolean usingModifiedFlag,
String modifiedFlagName,
boolean synthetic,
Type propertyType,
Class<?> virtualReturnClass) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static PropertyData |
forProperty(String propertyName,
Type propertyType) |
String |
getAccessType() |
String |
getBeanName() |
String |
getModifiedFlagPropertyName() |
String |
getName() |
ModificationStore |
getStore()
Deprecated.
since 5.2, to be removed in 6.0 with no replacement.
|
Type |
getType() |
Class<?> |
getVirtualReturnClass() |
int |
hashCode() |
boolean |
isSynthetic() |
boolean |
isUsingModifiedFlag() |
public PropertyData(String newName, PropertyData propertyData)
newName
- New name.propertyData
- Property data to copy the rest of properties from.public PropertyData(String name, String beanName, String accessType, ModificationStore store)
name
- Name of the property.beanName
- Name of the property in the bean.accessType
- Accessor type for this property.store
- How this property should be stored.public PropertyData(String name, String beanName, String accessType, ModificationStore store, boolean usingModifiedFlag, String modifiedFlagName, boolean synthetic)
name
- Name of the property.beanName
- Name of the property in the bean.accessType
- Accessor type for this property.store
- How this property should be stored.usingModifiedFlag
- Defines if field changes should be trackedpublic PropertyData(String name, String beanName, String accessType, ModificationStore store, boolean usingModifiedFlag, String modifiedFlagName, boolean synthetic, Type propertyType)
public String getName()
public String getBeanName()
public String getAccessType()
@Deprecated public ModificationStore getStore()
public boolean isUsingModifiedFlag()
public String getModifiedFlagPropertyName()
public boolean isSynthetic()
public Type getType()
public Class<?> getVirtualReturnClass()
public static PropertyData forProperty(String propertyName, Type propertyType)
Copyright © 2019 JBoss by Red Hat. All rights reserved.