Custom PropertyTypes Overview |
---|
"name [type] [default value]"
.
Custom API classes as type (15) |
|||||
---|---|---|---|---|---|
PropertyType options | |||||
Name | Type | Required | Optional | Value examples | Examples & Links |
ByteSizePropertyType | dk.heick.properties.types.custom.ByteSizeVO |
|
|
[Examples] [API Doc] |
|
EnvironmentPropertyType | dk.heick.properties.types.custom.enums.Environment |
|
|
[Examples] [API Doc] |
|
FilenameFilterPropertyType | dk.heick.properties.types.custom.filefilters.AbstractStringFilenameFilter |
|
|
[Examples] [API Doc] |
|
HourIntervalsPropertyType | dk.heick.properties.types.custom.HourIntervalsVO |
|
|
[Examples] [API Doc] |
|
IPRangePropertyType | dk.heick.properties.types.custom.IPRange |
|
|
[Examples] [API Doc] |
|
LatLngPropertyType | dk.heick.properties.types.custom.LatLng |
|
|
[Examples] [API Doc] |
|
MonthPropertyType | dk.heick.properties.types.custom.enums.Month |
|
|
[Examples] [API Doc] |
|
PasswordPropertyType | dk.heick.properties.types.custom.PasswordTypeVO |
|
|
[Examples] [API Doc] |
|
Point2DPropertyType | dk.heick.properties.types.custom.Point2D |
|
|
[Examples] [API Doc] |
|
Point3DPropertyType | dk.heick.properties.types.custom.Point3D |
|
|
[Examples] [API Doc] |
|
RangePropertyType | dk.heick.properties.types.custom.RangeVO<T> |
|
|
[Examples] [API Doc] |
|
SequencePropertyType | dk.heick.properties.types.custom.SequenceVO |
|
|
[Examples] [API Doc] |
|
TimeSpanPropertyType | dk.heick.properties.types.custom.TimeSpan |
|
|
[Examples] [API Doc] |
|
VersionPropertyType | dk.heick.properties.types.custom.VersionVO |
|
|
[Examples] [API Doc] |
|
WeekdayPropertyType | dk.heick.properties.types.custom.enums.Weekday |
|
|
[Examples] [API Doc] |
EXAMPLES |
---|
Example : ByteSizePropertyType | [to type] | [to top] |
---|---|---|
Property<ByteSizeVO> A_PROPERTY = new Property<ByteSizeVO>("name", new ByteSizePropertyType()); Property<ByteSizeVO> A_PROPERTY = new Property<ByteSizeVO>("name", new ByteSizePropertyType(new ByteSizeVO(3,ByteSizeUnit.KB))); Property<ByteSizeVO> A_PROPERTY = new Property<ByteSizeVO>("name", new ByteSizePropertyType(new ByteSizeVO(5,ByteSizeUnit.MB), new ByteSizeVO(512,ByteSizeUnit.KB) ,new ByteSizeVO(10,ByteSizeUnit.MB) )); |
Example : EnvironmentPropertyType | [to type] | [to top] |
---|---|---|
Property<Environment> A_PROPERTY = new Property<Environment>("name", new EnvironmentPropertyType()); Property<Environment> A_PROPERTY = new Property<Environment>("name", new EnvironmentPropertyType(Environment.DEVELOPMENT)); |
Example : FilenameFilterPropertyType | [to type] | [to top] |
---|---|---|
Property<WildCardFilenameFilter> A_PROPERTY = new Property<WildCardFilenameFilter>("name", new FilenameFilterPropertyType()); Property<WildCardFilenameFilter> A_PROPERTY = new Property<WildCardFilenameFilter>("name", new FilenameFilterPropertyType(new WildCardFilenameFilter("*.txt;*.htm"))); |
Example : HourIntervalsPropertyType | [to type] | [to top] |
---|---|---|
Property<HourIntervalsVO> A_PROPERTY = new Property<HourIntervalsVO>("name", new HourIntervalsPropertyType()); |
Example : IPRangePropertyType | [to type] | [to top] |
---|---|---|
Property<IPRange> A_PROPERTY = new Property<IPRange>("name", new IPRangePropertyType()); Property<IPRange> A_PROPERTY = new Property<IPRange>("name", new IPRangePropertyType(new IPRange("192.168.**"))); |
Example : LatLngPropertyType | [to type] | [to top] |
---|---|---|
Property<LatLng> A_PROPERTY = new Property<LatLng>("name", new LatLngPropertyType()); Property<LatLng> A_PROPERTY = new Property<LatLng>("name", new LatLngPropertyType(new LatLng(25.205,-36.4578))); |
Example : MonthPropertyType | [to type] | [to top] |
---|---|---|
Property<Month> A_PROPERTY = new Property<Month>("name", new MonthPropertyType()); Property<Month> A_PROPERTY = new Property<Month>("name", new MonthPropertyType(Month.OCTOBER)); |
Example : PasswordPropertyType | [to type] | [to top] |
---|---|---|
Property<PasswordTypeVO> A_PROPERTY = new Property<PasswordTypeVO>("name", new PasswordPropertyType()); Property<PasswordTypeVO> A_PROPERTY = new Property<PasswordTypeVO>("name", new PasswordPropertyType(new AESEncryption())); Property<PasswordTypeVO> A_PROPERTY = new Property<PasswordTypeVO>("name", new PasswordPropertyType(new MD5Encryption())); Property<PasswordTypeVO> A_PROPERTY = new Property<PasswordTypeVO>("name", new PasswordPropertyType(new SHA512Encryption())); Property<PasswordTypeVO> A_PROPERTY = new Property<PasswordTypeVO>("name", new PasswordPropertyType(new MD5Encryption(),true)); Property<PasswordTypeVO> A_PROPERTY = new Property<PasswordTypeVO>("name", new PasswordPropertyType(new MD5Encryption(),false,new DefaultPasswordEvaluator(7)))); |
Example : Point2DPropertyType | [to type] | [to top] |
---|---|---|
Property<Point2D> A_PROPERTY= new Property<Point2D>("name", new Point2DPropertyType()); Property<Point2D> A_PROPERTY= new Property<Point2D>("name", new Point2DPropertyType(new Point2D(23.43,-9172.23E12))); |
Example : Point3DPropertyType | [to type] | [to top] |
---|---|---|
Property<Point3D> A_PROPERTY= new Property<Point3D>("name", new Point3DPropertyType()); Property<Point3D> A_PROPERTY= new Property<Point3D>("name", new Point3DPropertyType(new Point3D(23.43,-9172.23E12,5845))); |
Example : RangePropertyType | [to type] | [to top] |
---|---|---|
Property<RangeVO<Integer>> A_PROPERTY= new Property<RangeVO<Integer>>("name", new RangePropertyType<Integer>(new IntegerPropertyType())); Property<RangeVO<ByteSizeVO>> A_PROPERTY= new Property<RangeVO<ByteSizeVO>>("name", new RangePropertyType<ByteSizeVO>(new ByteSizePropertyType())); |
Example : SequencePropertyType | [to type] | [to top] |
---|---|---|
Property<SequenceVO> A_PROPERTY= new Property<SequenceVO>("name", new SequencePropertyType()); Property<SequenceVO> A_PROPERTY= new Property<SequenceVO>("name", new SequencePropertyType(80)); |
Example : TimeSpanPropertyType | [to type] | [to top] |
---|---|---|
Property<TimeSpan> A_PROPERTY= new Property<TimeSpan>("name", new TimeSpanPropertyType()); Property<TimeSpan> A_PROPERTY= new Property<TimeSpan>("name", new TimeSpanPropertyType(TimeSpan.DAYS_21)); |
Example : VersionPropertyType | [to type] | [to top] |
---|---|---|
Property<VersionVO> A_PROPERTY= new Property<VersionVO>("name", new VersionPropertyType()); |
Example : WeekdayPropertyType | [to type] | [to top] |
---|---|---|
Property<Weekday> A_PROPERTY = new Property<Weekday>("name", new WeekdayPropertyType()); Property<Weekday> A_PROPERTY = new Property<Weekday>("name", new WeekdayPropertyType(Weekday.FRIDAY)); |